Added notifications/hub to the RewriteRule for Apache. Just as for the other proxies. Without the path didn't work in my environment

Mars 2019-05-27 18:21:36 +02:00
parent c78f7cf43d
commit 37e362204a
1 changed files with 1 additions and 2 deletions

@ -92,8 +92,7 @@ server {
RewriteEngine On RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://<SERVER>:3012/$1 [P,L] RewriteRule /notifications/hub(.*) ws://<SERVER>:3012/$1 [P,L]
ProxyPass / http://<SERVER>:80/ ProxyPass / http://<SERVER>:80/
ProxyPreserveHost On ProxyPreserveHost On