From a422203190f487b93a2ed299601d8f8a6fa5fea9 Mon Sep 17 00:00:00 2001 From: Thomas Ward Date: Wed, 2 Oct 2024 12:12:42 -0400 Subject: [PATCH] Add HTTP_HOST to fastcgi params https://salsa.debian.org/nginx-team/nginx/-/issues/21 --- conf/fastcgi_params | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/fastcgi_params b/conf/fastcgi_params index 28decb955..2f6d80d66 100644 --- a/conf/fastcgi_params +++ b/conf/fastcgi_params @@ -21,5 +21,7 @@ fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; +fastcgi_param HTTP_HOST $host; + # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200;