0
0
Fork 0
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

Matthew Rodatus 2020-07-04 22:34:20 -04:00
parent a618c9acff
commit 8b2ec6c3d8

@ -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>