mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 18:55:57 +03:00
Add extra headers to Nginx (#303)
This commit is contained in:
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 {
|
||||||
|
Reference in New Issue
Block a user