for the unlock with other device i had to adjust the apache config and had do add: RewriteRule /notifications/anonymous-hub(.*) ws://localhost:8380/fjbitwarden/notifications/anonymous-hub/$1 [P,L]

Gabbajoe 2024-09-29 22:54:53 +02:00
parent 9b6f2387bc
commit e001f07c57
1 changed files with 1 additions and 0 deletions

@ -522,6 +522,7 @@ On some OS's you can use a2enmod, for example with: `a2enmod proxy_wstunnel` and
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /notifications/hub(.*) ws://<SERVER>:<SERVER_PORT>/$sublocation/notifications/hub/$1 [P,L]
RewriteRule /notifications/anonymous-hub(.*) ws://<SERVER>:<SERVER_PORT>/fjbitwarden/notifications/anonymous-hub/$1 [P,L]
ProxyPass http://<SERVER>:<SERVER_PORT>/$sublocation
ProxyPreserveHost Off