[edit] pid

Syntax: pid file
Default: nginx.pid
Context: main
Reference: pid


Example:

pid /var/log/nginx.pid;

The pid-file. It can be used for the kill-command to send signals to nginx, eg: to reload the config: kill -HUP `cat /var/log/nginx.pid`


Module: CoreModule