Updated Proxy examples (markdown)

Acris Liu
2021-08-16 00:41:21 +08:00
parent 85e89f2bd4
commit e06cdcb47f

@@ -59,11 +59,14 @@ If you prefer, you can also directly specify a value instead of substituting an
# }
# redir @insecureadmin /
# Notifications redirected to the websockets server
reverse_proxy /notifications/hub <SERVER>:3012
# The negotiation endpoint is also proxied to Rocket
reverse_proxy /notifications/hub/negotiate vaultwarden:80
# Proxy everything else to Rocket
reverse_proxy <SERVER>:80 {
# Notifications redirected to the websockets server
reverse_proxy /notifications/hub vaultwarden:3012
# Proxy the Root directory to Rocket
reverse_proxy vaultwarden:80 {
# Send the true remote IP to Rocket, so that vaultwarden can put this in the
# log, so that fail2ban can ban the correct IP.
header_up X-Real-IP {remote_host}