nginx-ingress-controller: change location of pidfile to support dropped permissions
This commit is contained in:
parent
a79d82dd5a
commit
e08810a334
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
# A very simple nginx configuration file that forces nginx to start.
|
||||
pid /run/nginx.pid;
|
||||
pid /run/nginx/nginx.pid;
|
||||
|
||||
events {}
|
||||
http {}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
daemon off;
|
||||
|
||||
worker_processes {{ $cfg.WorkerProcesses }};
|
||||
pid /run/nginx.pid;
|
||||
pid /run/nginx/nginx.pid;
|
||||
{{ if ne .MaxOpenFiles 0 }}
|
||||
worker_rlimit_nofile {{ .MaxOpenFiles }};
|
||||
{{ end}}
|
||||
|
|
Loading…
Reference in a new issue