geforkt von mirrored/vaultwarden
Add extra headers to Nginx (#303)
Dieser Commit ist enthalten in:
Ursprung
371017b547
Commit
1f4edb38e6
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
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 {
|
||||||
|
|
Laden …
In neuem Issue referenzieren