commit 003224e6ad87982477c9e642c5e00b90e3bdb421 parent 6abef1885df87069a3635658b299fc3a4a1871f6 Author: Javier Sepulveda <javier.sepulveda@uv.es> Date: Tue, 4 Apr 2023 11:46:30 +0200 Add x-forwarded-host to backend nginx virtualhost Diffstat:
| M | netzbon/nginx-conf/backend.taler-nginx.conf | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/netzbon/nginx-conf/backend.taler-nginx.conf b/netzbon/nginx-conf/backend.taler-nginx.conf @@ -7,6 +7,9 @@ server { location / { proxy_pass http://unix:/var/run/taler/merchant-httpd/merchant-http.sock; + proxy_set_header X-Forwarded-Proto "https"; + proxy_set_header X-Forwarded-Host "backend.netzbon.valenciatech.cloud"; + proxy_set_header X-Forwarded-Prefix /; } }