Search code examples
nginxprocessrenameresource-files

Where to define Nginx process name (nginx) in sources?


Where is the placement of process name ("nginx") definition in sources files? I would like to rename from "nginx" to "nginx1101".


Solution

  • It's in src/os/unix/ngx_setproctitle.c:ngx_setproctitle().