Skip to content

Commit 2e3990a

Browse files
committed
fix: nginx 설정 수정
1 parent 99b1582 commit 2e3990a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ http {
1010

1111
location / {
1212
proxy_pass http://spring_app;
13+
proxy_set_header Host $host; # ← 원래 Host 사용
14+
proxy_set_header X-Real-IP $remote_addr;
15+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16+
proxy_set_header X-Forwarded-Proto $scheme;
1317
}
1418
}
1519
}

0 commit comments

Comments
 (0)