We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b1582 commit 2e3990aCopy full SHA for 2e3990a
1 file changed
nginx.conf
@@ -10,6 +10,10 @@ http {
10
11
location / {
12
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;
17
}
18
19
0 commit comments