CORS Mistakes on OVH Deployments and How to Fix Them
CORS problems on OVH usually aren’t really “OVH problems.” They’re deployment-shape problems: shared hosting with Apache overrides, VPS setups with Nginx in front of PHP-FPM, CDN or reverse proxy layers, and apps that work locally but break once a browser starts sending preflights. I’ve seen the same mistakes over and over. The browser says “blocked by CORS policy,” people start randomly adding Access-Control-Allow-Origin: *, and things get worse. Here’s the stuff that actually breaks on OVH deployments, and how to fix it. ...