From 0baf67147e50086bb0f33368b6b5730b7c887404 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 14 Nov 2024 19:25:08 +0100 Subject: [PATCH] add X-Forwarded-Host/POrt --- contrib/nginx/radicale.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/nginx/radicale.conf b/contrib/nginx/radicale.conf index fea82d03..b05183eb 100644 --- a/contrib/nginx/radicale.conf +++ b/contrib/nginx/radicale.conf @@ -7,6 +7,8 @@ # proxy_pass http://localhost:5232/; # proxy_set_header X-Script-Name /radicale; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header X-Forwarded-Host $host; +# proxy_set_header X-Forwarded-Port $server_port; # proxy_set_header Host $http_host; # proxy_pass_header Authorization; #} @@ -16,6 +18,8 @@ # proxy_pass http://localhost:5232/; # proxy_set_header X-Script-Name /radicale; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +# proxy_set_header X-Forwarded-Host $host; +# proxy_set_header X-Forwarded-Port $server_port; # proxy_set_header Host $http_host; # proxy_pass_header Authorization; #}