fix: Add nginx proxy rules for CMS API routes

- Add studio-api-location.conf to redirect API routes to CMS service (port 3001)
- Routes /auth, /courses, /lessons, etc. now go to CMS instead of frontend
- Mount location config in nginx-proxy vhost.d directory

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-03-27 13:21:44 -03:00
parent de85e82554
commit ff0850b87e
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ services:
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- ./nginx/proxy.conf:/etc/nginx/conf.d/proxy.conf:ro
- ./nginx/studio-api-location.conf:/etc/nginx/vhost.d/studio.norteamericano.com_location:ro
restart: always
networks:
- openccb-network