Skip to content

Instantly share code, notes, and snippets.

View daniel-marschner's full-sized avatar

Daniel Marschner daniel-marschner

  • Wunderlist
  • Berlin
View GitHub Profile
@daniel-marschner
daniel-marschner / cors-nginx.conf
Created December 10, 2012 09:33 — forked from michiel/cors-nginx.conf
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#