mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 17:59:20 -07:00
Updated Proxy examples (markdown)
@@ -59,11 +59,14 @@ If you prefer, you can also directly specify a value instead of substituting an
|
|||||||
# }
|
# }
|
||||||
# redir @insecureadmin /
|
# redir @insecureadmin /
|
||||||
|
|
||||||
# Notifications redirected to the websockets server
|
# The negotiation endpoint is also proxied to Rocket
|
||||||
reverse_proxy /notifications/hub <SERVER>:3012
|
reverse_proxy /notifications/hub/negotiate vaultwarden:80
|
||||||
|
|
||||||
# Proxy everything else to Rocket
|
# Notifications redirected to the websockets server
|
||||||
reverse_proxy <SERVER>:80 {
|
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
|
# Send the true remote IP to Rocket, so that vaultwarden can put this in the
|
||||||
# log, so that fail2ban can ban the correct IP.
|
# log, so that fail2ban can ban the correct IP.
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
|
|||||||
Reference in New Issue
Block a user