mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 17:36:18 -05:00
Passing Host header via nginx proxy.
This commit is contained in:
parent
7f3606dece
commit
e0ec192181
2 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ http {
|
|||
error_page 504 /error/50x.html;
|
||||
|
||||
server {
|
||||
proxy_pass_header Host;
|
||||
|
||||
location ^~ /error/ {
|
||||
internal;
|
||||
alias /var/www/;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ http {
|
|||
}
|
||||
|
||||
server {
|
||||
proxy_pass_header Host;
|
||||
|
||||
location /favicon.ico {
|
||||
alias /etc/nginx/favicon.ico;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue