[edit] user

Syntax: user user [ group ]
Default: nobody nobody
Context: main
Reference: user


If the master process is run as root, then nginx will setuid()/setgid() to USER/GROUP. If GROUP is not specified, then nginx uses the same name as USER. By default it's nobody user and nobody or nogroup group or the --user=USER and --group=GROUP from the ./configure script.

Example:

user www users;

Module: CoreModule