mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
Add HTTP_HOST to fastcgi params
https://salsa.debian.org/nginx-team/nginx/-/issues/21
This commit is contained in:
parent
e24f7ccc16
commit
a422203190
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user