nginx: Add more proxy headers
This commit is contained in:
parent
07125310bd
commit
08fbb13640
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ http {
|
|||
}
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
{% if plaintext is defined %}
|
||||
|
|
Loading…
Add table
Reference in a new issue