mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:39:38 +02:00
Add X-Real-IP upstream header in Caddy 2.x reverse-proxy example
1 parent
a618c9acff
commit
8b2ec6c3d8
1 file changed
+5
-1
+5
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user