Skip to content

Instantly share code, notes, and snippets.

@1037600647
1037600647 / nginx-gateway.conf
Last active May 2, 2026 02:12
Gateway nginx.conf ch30 — agrega routing /reservas/
events { worker_connections 512; }
http {
server {
listen 80;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, PATCH, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, API-Version, X-Requested-With' always;
add_header 'Access-Control-Max-Age' '86400' always;