We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b72e4d3 commit 787023fCopy full SHA for 787023f
1 file changed
nginx.conf
@@ -15,14 +15,6 @@ server {
15
try_files $uri $uri/ /business/index.html;
16
}
17
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
-
26
# SPA 라우팅을 위한 설정 (가장 중요)
27
location / {
28
# 1. 요청된 주소(URI)에 해당하는 파일이 있는지 찾아본다.
0 commit comments