feat: auth.ro-being.com 리버스 프록시 설정 추가
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s

- auth.ro-being.com을 포트 9000으로 프록시
- 기존 서버 블록에 server_name 패턴 추가 (auth 제외)
- OAuth 콜백을 위한 타임아웃 설정 추가
This commit is contained in:
happybell80 2025-07-16 23:39:38 +09:00
parent bdb718b4bc
commit 63e27e624b

View File

@ -1,5 +1,6 @@
server {
listen 80;
server_name ~^(?!(auth)).*\.ro-being\.com$;
# Main application proxy
location / {
@ -28,3 +29,21 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
# Auth server configuration
server {
listen 80;
server_name auth.ro-being.com;
location / {
proxy_pass http://192.168.219.45:9000/;
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;
# OAuth 콜백 타임아웃 늘리기
proxy_read_timeout 300s;
proxy_connect_timeout 75s;
}
}