diff --git a/nginx.conf b/nginx.conf index 0c01f23a..8719d796 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,6 +25,8 @@ http { error_page 504 /error/50x.html; server { + proxy_pass_header Host; + location ^~ /error/ { internal; alias /var/www/; diff --git a/nginx.dev.conf b/nginx.dev.conf index f747b86d..48e4be09 100644 --- a/nginx.dev.conf +++ b/nginx.dev.conf @@ -20,6 +20,8 @@ http { } server { + proxy_pass_header Host; + location /favicon.ico { alias /etc/nginx/favicon.ico; }