workspace/projects
rckrdmrd 8b12d7f231 fix(cors): Resolve duplicate CORS headers in production
## Problem
CORS error: "Access-Control-Allow-Origin header contains multiple values"
caused by both Nginx and NestJS sending CORS headers.

## Solution
- NestJS handles CORS exclusively (main.ts)
- Nginx acts as SSL proxy only (no CORS headers)
- Updated .env.production.example with HTTPS origins
- Created GUIA-CORS-PRODUCCION.md with complete documentation

## Files Changed
- .gitignore: Allow .env.*.example files
- apps/backend/.gitignore: Allow .env.*.example files
- apps/backend/.env.production.example: HTTPS CORS config
- apps/frontend/.env.production.example: HTTPS/WSS config
- docs/95-guias-desarrollo/GUIA-CORS-PRODUCCION.md: Full guide

## Production Steps
1. Update .env.production files with HTTPS origins
2. Remove CORS headers from Nginx config
3. Rebuild frontend, restart backend

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 10:24:01 -06:00
..
betting-analytics Major update: orchestration system, catalog references, and multi-project enhancements 2025-12-12 22:53:55 -06:00
erp-suite changes on erp 2025-12-18 06:25:52 -06:00
gamilit fix(cors): Resolve duplicate CORS headers in production 2025-12-18 10:24:01 -06:00
inmobiliaria-analytics Major update: orchestration system, catalog references, and multi-project enhancements 2025-12-12 22:53:55 -06:00
platform_marketing_content Major update: orchestration system, catalog references, and multi-project enhancements 2025-12-12 22:53:55 -06:00
trading-platform Multi-project update: gamilit, orchestration, trading-platform 2025-12-18 07:17:46 -06:00