NGINX Commands
Search Results
NGINX Commands
Configuration
nginx -t
Test NGINX configuration for syntax errors.
Example:
nginx -t
test
configuration
syntax
nginx -s reload
Reload NGINX configuration without stopping.
Example:
nginx -s reload
reload
configuration
nginx -s stop
Stop NGINX server.
Example:
nginx -s stop
stop
server
nginx -s quit
Gracefully shutdown NGINX.
Example:
nginx -s quit
shutdown
graceful
Logs
tail -f /var/log/nginx/access.log
Follow NGINX access log in real-time.
Example:
tail -f /var/log/nginx/access.log
logs
access
monitor
tail -f /var/log/nginx/error.log
Follow NGINX error log in real-time.
Example:
tail -f /var/log/nginx/error.log
logs
error
debug
nginx -V
Show NGINX version and compile-time options.
Example:
nginx -V
version
info