Nginx module list #5

Open
opened 2 years ago by rbsetiawan · 0 comments
Owner

list default all module

nginx -V

find module stub_status_module

nginx -V | grep --color stub_status_module

OR

nginx -V 2>&1 | tr ' ' '\n'
nginx -V 2>&1 | tr ' ' '\n' | grep 'something'
nginx -V 2>&1 | tr ' ' '\n' | grep 'ssl'
nginx -V 2>&1 | tr ' ' '\n' | egrep -i 'ssl|brotli|pagespeed'

list module which flags Nginx was compiled with under Unix

nginx -V 2>&1 | tr ' ' '\n'

Hide non-error messages during configuration testing

nginx -t -q

We can test configuration, and dump it on the screen:

nginx -T

Send a signal to control the Nginx server:

sudo nginx -s signal

Stop the Nginx server:

sudo nginx -s stop

Reload the Nginx server after making changes to the config file or when TLS/SSL certificate created/issues/renewed:

sudo ngix -s reload

Reopen log files after creating log files stored in /var/log/nginx/:

sudo ngix -s reopen

Refrensi

  • cyberciti : How to list installed Nginx modules and compiled flags
list default all module ``` nginx -V ``` find module `stub_status_module` ``` nginx -V | grep --color stub_status_module ``` OR ``` nginx -V 2>&1 | tr ' ' '\n' nginx -V 2>&1 | tr ' ' '\n' | grep 'something' nginx -V 2>&1 | tr ' ' '\n' | grep 'ssl' nginx -V 2>&1 | tr ' ' '\n' | egrep -i 'ssl|brotli|pagespeed' ``` list module which flags Nginx was compiled with under Unix ``` nginx -V 2>&1 | tr ' ' '\n' ``` Hide non-error messages during configuration testing ``` nginx -t -q ``` We can test configuration, and dump it on the screen: ``` nginx -T ``` Send a signal to control the Nginx server: ``` sudo nginx -s signal ``` Stop the Nginx server: ``` sudo nginx -s stop ``` Reload the Nginx server after making changes to the config file or when TLS/SSL certificate created/issues/renewed: ``` sudo ngix -s reload ``` Reopen log files after creating log files stored in /var/log/nginx/: ``` sudo ngix -s reopen ``` # Refrensi - [cyberciti](https://www.cyberciti.biz/faq/how-to-list-installed-nginx-modules-and-compiled-flags/) : How to list installed Nginx modules and compiled flags
rbsetiawan added the
Nginx
label 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.