Skip to content

Instantly share code, notes, and snippets.

View hellonewman81's full-sized avatar

Andrew Newman hellonewman81

View GitHub Profile
@hellonewman81
hellonewman81 / nginx.conf
Created December 24, 2015 04:07 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your location block(s):
#
# include cors_support;
#
# A limitation to this method is that Nginx doesn't currently send headers