#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; # default_type application/octet-stream; include main_log_format; access_log ${NGINX_LOGS}/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; upstream gms { server unix://${SOCK_LOC}; } server { listen 8000; charset utf-8; access_log ${NGINX_LOGS}/host.access.log main; client_max_body_size 1G; location /static { alias ${APP_DIR}/static_root; } location / { uwsgi_pass gms; include uwsgi_params; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } }