Examples (5)
Start the server with the default configuration file
Start the server with a custom configuration file
nginx -c configuration_fileStart the server with a prefix for all relative paths in the configuration file
nginx -c configuration_file -p path/to/prefixTest the configuration without affecting the running server
nginx -tReload the configuration by sending a signal with no downtime
nginx -s reloadmade by @shridhargupta | data from tldr-pages