Hello Everyone, I am trying to configure ngnix where logs and pid file are written to a custom path and owned as non root. When even I start ngnix these files are created and owned as root. In ngnix.conf I defined as below. Please advise. user usradmin mwgroup; worker_processes 1; error_log /export/local/opt/ngnix/logs/error.log warn; pid /export/local/opt/ngnix/logs/nginx.pid; eveby cskalyan - Nginx Mailing List - English
Hello Everyone, I am trying to configure ngnix where logs and pid file are written to a custom path and owned as non root. When even I start ngnix these files are created and owned as root. In ngnix.conf I defined as below. Please advise. user usradmin mwgroup; worker_processes 1; error_log /export/local/opt/ngnix/logs/error.log warn; pid /export/local/opt/ngnix/logs/nginx.pidby cskalyan - How to...
![]() |
![]() |
![]() |
![]() |
|