diff --git a/system1-factory/web/nginx.conf b/system1-factory/web/nginx.conf index b618f12..365f2cf 100644 --- a/system1-factory/web/nginx.conf +++ b/system1-factory/web/nginx.conf @@ -24,6 +24,17 @@ server { add_header Cache-Control "public, no-transform"; } + # SSO Auth API 프록시 (/api/auth/* → sso-auth) + location /api/auth/ { + set $upstream http://sso-auth:3000; + proxy_pass $upstream$request_uri; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } + # API 프록시 (System 1 API) location /api/ { set $upstream http://system1-api:3005;