Mercurial Hosting > luan
comparison host/startup/nginx/nginx_master.conf.luan @ 2137:67b504ba388c nginx_decoupled
don't assume the user's primary group name is the same as their username
| author | Violet7 |
|---|---|
| date | Mon, 19 Jan 2026 20:20:03 -0800 |
| parents | 3ca8f933209d |
| children | 68b055359b2b |
comparison
equal
deleted
inserted
replaced
| 2136:3ca8f933209d | 2137:67b504ba388c |
|---|---|
| 1 local nginxRootConfigDir, nginxSiteConfigsDir, nginxLogDir, nginxPidDir, nginxUser = ... | 1 local nginxRootConfigDir, nginxSiteConfigsDir, nginxLogDir, nginxPidDir, nginxUser, nginxGroup = ... |
| 2 | 2 |
| 3 %> | 3 %> |
| 4 | 4 |
| 5 # NOTE: this is a manually modified version of /etc/nginx/nginx.conf | 5 # NOTE: this is a manually modified version of /etc/nginx/nginx.conf |
| 6 # on an ubuntu (pop-os) linux machine. | 6 # on an ubuntu (pop-os) linux machine. |
| 7 | 7 |
| 8 | 8 |
| 9 user <%=nginxUser%> <%=nginxUser%>; | 9 user <%=nginxUser%> <%=nginxGroup%>; |
| 10 worker_processes auto; | 10 worker_processes auto; |
| 11 pid <%=nginxPidDir%>/nginx.pid; | 11 pid <%=nginxPidDir%>/nginx.pid; |
| 12 error_log <%=nginxLogDir%>/error.log; | 12 error_log <%=nginxLogDir%>/error.log; |
| 13 # Entirely untested, uncomment if modules are needed | 13 # Entirely untested, uncomment if modules are needed |
| 14 # include <%=nginxRootConfigDir%>/modules/*.conf; | 14 # include <%=nginxRootConfigDir%>/modules/*.conf; |
