mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-15 22:42:51 +01:00
Add X-Real-IP upstream header in Caddy 2.x reverse-proxy example
parent
a618c9acff
commit
8b2ec6c3d8
1 changed files with 5 additions and 1 deletions
|
@ -113,7 +113,11 @@ Caddy 2 can also automatically enable HTTPS in some circumstances, check the [do
|
|||
# reverse_proxy /notifications/hub <SERVER>:3012
|
||||
#
|
||||
# # Proxy the Root directory to Rocket
|
||||
# reverse_proxy <SERVER>:80
|
||||
# reverse_proxy <SERVER>:80 {
|
||||
# # Send the true remote IP to Rocket, so that bitwarden_rs can put this in the
|
||||
# # log, so that fail2ban can ban the correct IP.
|
||||
# header_up X-Real-IP {remote_host}
|
||||
# }
|
||||
#}
|
||||
```
|
||||
</details>
|
||||
|
|
Loading…
Reference in a new issue