Skip to content

Commit 758e0fd

Browse files
authored
fix: LEAP-1456: CSRF - use $http_host instead of nginx $host so port will be included (#6344)
1 parent 05d4a8c commit 758e0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ http {
184184
send_timeout 90;
185185
proxy_set_header X-Real-IP $remote_addr;
186186
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
187-
proxy_set_header Host $host;
187+
proxy_set_header Host $http_host;
188188
proxy_set_header X-Request-ID $request_id;
189189
proxy_pass_header Content-Type;
190190
proxy_redirect off;

0 commit comments

Comments
 (0)