feat: auth.ro-being.com 리버스 프록시 설정 추가
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s
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:
parent
bdb718b4bc
commit
63e27e624b
19
default.conf
19
default.conf
@ -1,5 +1,6 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name ~^(?!(auth)).*\.ro-being\.com$;
|
||||
|
||||
# Main application proxy
|
||||
location / {
|
||||
@ -27,4 +28,22 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user