Skip to content

Commit 7c1f449

Browse files
committed
chore: 환경변수 이름 변경
1 parent 454dffa commit 7c1f449

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nginx.conf

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

1212
# API 요청 프록시
1313
location /api/ {
14-
proxy_pass ${API_URL}/api/;
14+
proxy_pass ${VITE_API_URL}/api/;
1515
proxy_set_header Host $host;
1616
proxy_set_header X-Real-IP $remote_addr;
1717
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -36,7 +36,7 @@ server {
3636

3737
# OAuth2 인증 프록시
3838
location /oauth2/ {
39-
proxy_pass ${API_URL}/oauth2/;
39+
proxy_pass ${VITE_API_URL}/oauth2/;
4040
proxy_set_header Host $host;
4141
proxy_set_header X-Real-IP $remote_addr;
4242
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

nginx.conf.template

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

1212
# API 요청 프록시
1313
location /api/ {
14-
proxy_pass ${BACKEND_URL}/api/;
14+
proxy_pass ${VITE_API_URL}/api/;
1515
proxy_set_header Host $host;
1616
proxy_set_header X-Real-IP $remote_addr;
1717
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -36,7 +36,7 @@ server {
3636

3737
# OAuth2 인증 프록시
3838
location /oauth2/ {
39-
proxy_pass ${BACKEND_URL}/oauth2/;
39+
proxy_pass ${VITE_API_URL}/oauth2/;
4040
proxy_set_header Host $host;
4141
proxy_set_header X-Real-IP $remote_addr;
4242
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)