Skip to content

Instantly share code, notes, and snippets.

View PurwadiPw's full-sized avatar
👶
MistakeMaker

Purwadi PurwadiPw

👶
MistakeMaker
View GitHub Profile
@PurwadiPw
PurwadiPw / cors-nginx.conf
Created April 13, 2016 04:45 — 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' '*';
#