set host, X-Real-IP, and X-Forwarded-For headers (#93)

This commit is contained in:
Rulasmur 2023-06-23 00:39:31 +02:00 committed by GitHub
parent 18c3f3a09f
commit b56616fcc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,9 @@ server {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}