Passing Host header via nginx proxy.

This commit is contained in:
Roland 2023-05-10 15:24:37 -06:00
parent 7f3606dece
commit e0ec192181
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 4 additions and 0 deletions

View file

@ -25,6 +25,8 @@ http {
error_page 504 /error/50x.html;
server {
proxy_pass_header Host;
location ^~ /error/ {
internal;
alias /var/www/;

View file

@ -20,6 +20,8 @@ http {
}
server {
proxy_pass_header Host;
location /favicon.ico {
alias /etc/nginx/favicon.ico;
}