user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; access_log off; sendfile on; #tcp_nopush on; keepalive_timeout 65; gzip on; server { listen 80; location / { proxy_intercept_errors on; error_page 400 500 404 /; } } include /etc/nginx/conf.d/*.conf; }