Skip to content

Instantly share code, notes, and snippets.

View bdmbdsm's full-sized avatar

Bohdan bdmbdsm

  • Madefire
  • Lviv, Ukraine
View GitHub Profile
@michiel
michiel / cors-nginx.conf
Created July 5, 2011 10:41
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#