Skip to content

Instantly share code, notes, and snippets.

View Joao-Lucas-de-Oliveira-Lima's full-sized avatar
🏠
Working from home

João Lucas Joao-Lucas-de-Oliveira-Lima

🏠
Working from home
View GitHub Profile
@Joao-Lucas-de-Oliveira-Lima
Joao-Lucas-de-Oliveira-Lima / nginx.conf
Created March 30, 2025 03:57 — 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;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which