diff --git a/Proxy-examples.md b/Proxy-examples.md index d76068a..bb461ef 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -66,10 +66,7 @@ If you prefer, you can also directly specify a value instead of substituting an # Uncomment to allow access to the admin interface only from local networks # import admin_redir - # Notifications redirected to the websockets server - reverse_proxy /notifications/hub :3012 - - # Proxy everything else to Rocket + # Proxy everything to Rocket # if located at a sub-path the reverse_proxy line will look like: # reverse_proxy /subpath/* :80 reverse_proxy :80 { @@ -576,10 +573,7 @@ Remember to enable `mod_proxy_wstunnel` and `mod_proxy_http`, for example with: ErrorLog \${APACHE_LOG_DIR}/bitwarden-error.log CustomLog \${APACHE_LOG_DIR}/bitwarden-access.log combined - RewriteEngine On - RewriteCond %{HTTP:Upgrade} =websocket [NC] - RewriteRule /notifications/hub(.*) ws://:3012/$1 [P,L] - ProxyPass / http://:80/ + ProxyPass / http://:80/ upgrade=websocket ProxyPreserveHost On ProxyRequests Off