0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-10 12:04:32 +01:00

Add extra headers to Nginx (#303)

This commit is contained in:
Daniel García 2018-12-17 19:29:07 +01:00 committed by GitHub
parent 371017b547
commit 1f4edb38e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,10 @@ server {
location / {
proxy_pass http://<SERVER>:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /notifications/hub {