nginx: Add more proxy headers

This commit is contained in:
Timo Makinen 2023-08-09 22:33:10 +00:00
parent 07125310bd
commit 08fbb13640

View file

@ -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 %}