Skip to content

Instantly share code, notes, and snippets.

@migaes
migaes / cors-nginx.conf
Created May 2, 2017 14:21 — 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' '*';
#