From 804a25d3ee63fb4af8a52bd4808773463de5b8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 4 Jul 2023 19:16:48 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5eb63ca..24004e1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,10 +4,10 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT____PATH__/; proxy_redirect off; proxy_pass_header Server; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Host $http_host; + proxy_set_header X-Forwarded-Host $host; proxy_http_version 1.1; proxy_pass_request_headers on;