diff --git a/immich/httpd.conf-cm.yml b/immich/httpd.conf-cm.yml index 1874bb6..3476095 100644 --- a/immich/httpd.conf-cm.yml +++ b/immich/httpd.conf-cm.yml @@ -89,12 +89,12 @@ data: ProxyPreserveHost Off RewriteEngine on - RewriteCond %{HTTP:Upgrade} websocket [NC] - RewriteCond %{HTTP:Connection} upgrade [NC] - RewriteRule ^/?(.*) "wss://helm-immich-server:2283/$1" [P,L] + RewriteCond %{REQUEST_URI} ^/socket.io [NC] + RewriteCond %{QUERY_STRING} transport=websocket [NC] + RewriteRule /(.*) ws://helm-immich-server:2283/$1 [P,L] - ProxyPass /api/socket.io ws://helm-immich-server:2283/api/socket.io/ - ProxyPassReverse /api/socket.io ws://helm-immich-server:2283/api/socket.io/ + # ProxyPass /api/socket.io ws://helm-immich-server:2283/api/socket.io/ + # ProxyPassReverse /api/socket.io ws://helm-immich-server:2283/api/socket.io/ ProxyPass / http://helm-immich-server:2283/ ProxyPassReverse / http://helm-immich-server:2283/ ProxyRequests off