worker_processes auto; pid /tmp/nginx.pid; error_log /dev/stderr warn; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; access_log /dev/stdout; client_body_temp_path /tmp/client_temp; sendfile on; gzip on; gzip_types application/wasm application/javascript text/css application/json; server { listen 8080; root /srv/web; index index.html; add_header X-Content-Type-Options nosniff always; add_header Cache-Control no-cache always; location / { try_files $uri $uri/ =404; } location ~ /\. { deny all; } } server { listen 127.0.0.1:8081; access_log off; location = /nginx_status { stub_status; } location / { return 404; } } }