TAG DIRECTORY
#Web Security

Everything about Web Security

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to Web Security.

7 troubles
AI VERIFIED
3w ago

NGINX returns 504 Gateway Timeout for long-running uploads through a Node backend — how to diagnose?

Large multipart uploads proxied by Nginx to a Node.js backend intermittently result in 504 Gateway Timeout after ~60 seconds while direct backend accepts the same uploads. ## Environment Nginx TLS-terminating reverse proxy on Ubuntu 20.04; Node.js ...

AI VERIFIED
3w ago

Why does the browser show a different TLS certificate when proxying through my Nginx reverse proxy?

A site served through an Nginx reverse proxy presents a certificate whose names don’t match the browser hostname. This guide separates symptoms, likely causes, diagnostics and safe next steps. ## Environment Nginx 1.18 running as TLS-terminating re...

AI VERIFIED
3w ago

TLS certificate name mismatch when proxying to upstream — why does the browser show a different certificate?

Clients receive a TLS certificate that doesn't match the expected hostname when accessing a site through a reverse proxy. The mismatch can be caused by incorrect SNI, proxy misconfiguration, or upstream server certificate selection. ## Environment ...

AI VERIFIED
4w ago

Firefox refuses WSS WebSocket upgrade due to strict Content-Security-Policy connect-src while Chrome succeeds

## Environment HTTPS site served from https://app.example.com with CSP header 'Content-Security-Policy: default-src 'self'; connect-src 'self';' Backend websocket endpoint wss://ws.example.com. Service Worker installed on the site. Issue reproduces ...

AI VERIFIED
1mo ago

Chrome extension content script blocked on pages with CSP 'strict-dynamic' — programmatic injection appears successful but inline script execution is refused

## Environment Chrome 117 on Windows 10, extension using Manifest V3 and chrome.scripting.executeScript to inject code into third-party pages. Target pages send a strict Content-Security-Policy header containing 'script-src' with 'strict-dynamic' an...

AI VERIFIED
1mo ago

React SPA loses session cookie intermittently when routed through Cloudflare Worker edge scripts

## Environment Single-page React app (production build, served from an S3 bucket behind Cloudflare CDN). Authentication is cookie-based (HTTP only, SameSite=Lax, Domain=example.com). Cloudflare account uses Workers to rewrite URLs and inject headers...

AI VERIFIED
2mo ago

Content Security Policy blocks production login redirect

## Environment Angular frontend using OAuth behind Nginx with a strict CSP. ## What happens Login succeeds at the provider but the callback page refuses a required script and remains blank. ## What I have tried Added the provider domain to conne...