Skip to content

Commit 787023f

Browse files
committed
commit
1 parent b72e4d3 commit 787023f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

nginx.conf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ server {
1515
try_files $uri $uri/ /business/index.html;
1616
}
1717

18-
# API 요청을 처리하는 부분
19-
location /business/api/ {
20-
proxy_pass http://user-backend:8080/api/; # 백엔드 API 경로로 리디렉션
21-
proxy_set_header Host $host;
22-
proxy_set_header X-Real-IP $remote_addr;
23-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
24-
}
25-
2618
# SPA 라우팅을 위한 설정 (가장 중요)
2719
location / {
2820
# 1. 요청된 주소(URI)에 해당하는 파일이 있는지 찾아본다.

0 commit comments

Comments
 (0)