user www-data; worker_processes 4; pid /tmp/nginx.pid; events { worker_connections 768; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; gzip on; gzip_comp_level 2; gzip_min_length 1000; gzip_proxied expired no-cache no-store private auth; gzip_types text/plain application/javascript text/xml text/css application/xml; server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; server_name _; location / { proxy_buffering off; proxy_pass http://localhost:3000/; add_header Cache-Control "no-cache"; } } }