From d6e30533d7730331452c5f61a98c9d1eec486a0b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 28 Aug 2019 19:43:26 +0200 Subject: OpenShift support --- nginx.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf index 7fb8e46..1634164 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ -user munin; worker_processes 4; -pid /run/nginx.pid; +pid /tmp/nginx.pid; +error_log /proc/self/fd/2 warn; events { worker_connections 768; @@ -17,8 +17,11 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; + #client_body_temp_path /tmp/nginx/temp; + #proxy_temp_path /tmp/nginx/proxy; + + access_log /proc/self/fd/1; + error_log /proc/self/fd/2; gzip on; gzip_disable "msie6"; -- cgit v1.2.3