mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-14 05:52:51 +01:00
Add extra headers to Nginx (#303)
This commit is contained in:
parent
371017b547
commit
1f4edb38e6
1 changed files with 4 additions and 0 deletions
4
PROXY.md
4
PROXY.md
|
@ -39,6 +39,10 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://<SERVER>:80;
|
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 {
|
location /notifications/hub {
|
||||||
|
|
Loading…
Reference in a new issue