diff --git a/Proxy-examples.md b/Proxy-examples.md index 2c5bab7..92a7721 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -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 :3012 + # The negotiation endpoint is also proxied to Rocket + reverse_proxy /notifications/hub/negotiate vaultwarden:80 - # Proxy everything else to Rocket - reverse_proxy :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}