Skip to content

Instantly share code, notes, and snippets.

View rohan-krishna's full-sized avatar
👻
I may be slow to respond.

Rohan Krishna rohan-krishna

👻
I may be slow to respond.
View GitHub Profile
@rohan-krishna
rohan-krishna / cors-nginx.conf
Created July 24, 2020 21:57 — 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' '*';
#