Scalable Stories · October 20 · 11 min
NGINX JSONP: Safe Cross-Origin APIs with the XSS Module
0:00-11:30
transcript
show notes
Technical Briefing: Safe JSONP in NGINX with ngxhttpxssmodule Today's source is a GetPageSpeed article on ngxhttpxssmodule, an established NGINX module from the xss-nginx-module project. The module generates JSONP responses and validates the callback name before sending any data. The article covers when JSONP is still needed, how the module decides whether to wrap a response, a hardened configuration, verification steps, and troubleshooting. The Problem: When CORS Isn't an Option CORS is the mo…