monsur / enable-cors.org

Advocacy for CORS
http://enable-cors.org/
212 stars 99 forks source link

this page: http://enable-cors.org/server_nginx.html #85

Closed synapsechris closed 9 years ago

synapsechris commented 9 years ago

should have a link to the following:

http://wiki.nginx.org/IfIsEvil

I ran into some really weird behavior around if's within "location" statement just as the nginx site says. And it might be good to warn people since your suggestion on the site is to use a bunch if IF statements.

I'm not saying your recipe doesn't work, only that when combined with other stuff, it may not work.

monsur commented 9 years ago

Duplicate of #14. Sounds like I need to take a better look at how nginx is configured.