CLI options
nginx -s control request
Targets the master identified by the selected configuration PID path. Supported arguments: reload, reopen, quit, stop. A signal dispatch is not confirmation of completed action. Owned lab only.
Formal Syntax & Structure
nginx syntaxnginx
nginx -s signalParameters & Attributes
| Name | Type | Description |
|---|---|---|
| signal | string | One supported action |
Working Example
Example Snippetnginx
nginx -e stderr -p "$LAB/" -c "$LAB/nginx.conf" -s quit