nginx
web server and reverse proxy
TLDR
Start nginx
$ nginx
Test configuration$ nginx -t
Reload configuration$ nginx -s reload
Stop nginx$ nginx -s stop
Graceful shutdown$ nginx -s quit
Show version$ nginx -v
Use specific config$ nginx -c [/etc/nginx/nginx.conf]
Prefix path$ nginx -p [/var/www]
SYNOPSIS
nginx [options]
DESCRIPTION
nginx is a web server and reverse proxy. It handles HTTP, HTTPS, and mail proxy.
The tool serves static content. Supports load balancing and caching.
PARAMETERS
-t
Test configuration.-s SIGNAL
Send signal (stop, quit, reload, reopen).-c FILE
Configuration file.-v
Show version.-V
Show version and config.-p PATH
Prefix path.--help
Display help information.
CAVEATS
Requires configuration. Runs as daemon. Different from Apache config.
HISTORY
nginx was created by Igor Sysoev in 2004 to handle high concurrency with low memory usage.
