fix(infra/k8s): Workaround for nginx crash on pidfile write

Newer versions of nginx apparently hard-crash if they can't write a
PID file in the current directory.

To work around this, some writeable scratch space is created for the
nginx daemon to write its PID to.
This commit is contained in:
Vincent Ambo 2019-12-20 16:06:19 +00:00
parent a349d5e914
commit 9653bdcf69
3 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,7 @@
daemon off;
worker_processes 1;
error_log stderr;
pid /run/nginx.pid;
events {
worker_connections 1024;