From bdb79292d9768fda200bcb77b0aa6b9bd7ca5cac Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sun, 15 Dec 2024 23:56:24 +0100 Subject: [PATCH] Immich: Update sol-auth httpd.conf cm 5 --- immich/httpd.conf-cm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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