Skip to content

Commit 0c45af4

Browse files
committed
chore: OAuth2 프록시 주소 수정
1 parent e6ba85f commit 0c45af4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ server {
1515

1616
# API 요청 프록시
1717
location /api/ {
18-
proxy_pass ${VITE_API_URL}/api/;
18+
proxy_pass ${VITE_API_URL};
1919
proxy_set_header Host $host;
2020
proxy_set_header X-Real-IP $remote_addr;
2121
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -40,7 +40,7 @@ server {
4040

4141
# OAuth2 인증 프록시
4242
location /oauth2/ {
43-
proxy_pass ${VITE_API_URL}/oauth2/;
43+
proxy_pass proxy_pass ${VITE_API_URL};
4444
proxy_set_header Host $host;
4545
proxy_set_header X-Real-IP $remote_addr;
4646
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)