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
list default all module
find module
stub_status_moduleOR
list module which flags Nginx was compiled with under Unix
Hide non-error messages during configuration testing
We can test configuration, and dump it on the screen:
Send a signal to control the Nginx server:
Stop the Nginx server:
Reload the Nginx server after making changes to the config file or when TLS/SSL certificate created/issues/renewed:
Reopen log files after creating log files stored in /var/log/nginx/:
Refrensi