server { listen 80; server_name _; # Increase limits for large uploads if needed client_max_body_size 10G; client_body_timeout 300s; client_header_timeout 300s; # Access logs with request id access_log /var/log/nginx/access.log main; root /usr/share/nginx/html; index index.html; location / { try_files $uri /index.html; # Propagate a request id to clients; backend (API) can echo as session id add_header X-Request-Id $request_id always; add_header X-Content-Type-Options nosniff always; add_header Referrer-Policy no-referrer-when-downgrade always; } }