From 3a38c93af76bbd5f80cbab95e679576ad9f8d2d1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Oct 2013 22:16:13 +0000 Subject: [PATCH] Local config for nginx.conf, this should not be pushed. --- nginx.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 93e5a1ce1..54f502d4b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ worker_processes 1; -user nobody nogroup; +user root nogroup; pid /tmp/nginx.pid; error_log /tmp/nginx.error.log; @@ -10,12 +10,15 @@ events { } http { + types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; access_log /tmp/nginx.access.log combined; sendfile on; + root /root/quay/; + upstream app_server { server unix:/tmp/gunicorn.sock fail_timeout=0; # For a TCP configuration: @@ -36,8 +39,8 @@ http { keepalive_timeout 5; ssl on; - ssl_certificate /home/ubuntu/quay/certs/unified.cert; - ssl_certificate_key /home/ubuntu/quay/certs/quay.key; + ssl_certificate ./certs/unified.cert; + ssl_certificate_key ./certs/quay.key; ssl_session_timeout 5m; ssl_protocols SSLv3 TLSv1; ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; @@ -49,7 +52,7 @@ http { location /static/ { # checks for static file, if not found proxy to app - alias /home/ubuntu/quay/static/; + alias /root/quay/static/; } location / {