Add HTTP_HOST to fastcgi params

https://salsa.debian.org/nginx-team/nginx/-/issues/21
This commit is contained in:
Thomas Ward 2024-10-02 12:12:42 -04:00 committed by GitHub
parent e24f7ccc16
commit a422203190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;