From b3553fead47391e8b1705e2f110cca837f376adb Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 17 Dec 2024 15:12:43 +0100 Subject: [PATCH] Immich: rewrite /photos to /sharing 8 --- immich/httpd.conf-cm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/immich/httpd.conf-cm.yml b/immich/httpd.conf-cm.yml index a064c1d..6d98e2a 100644 --- a/immich/httpd.conf-cm.yml +++ b/immich/httpd.conf-cm.yml @@ -73,10 +73,11 @@ data: ProxyPass / http://helm-immich-server:2283/ ProxyPassReverse / http://helm-immich-server:2283/ RewriteEngine on + RewriteRule ^photos/?$ /sharing [R=301,L] RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteCond %{HTTP:Connection} upgrade [NC] RewriteRule ^/?(.*) "ws://helm-immich-server:2283/$1" [P,L] - RewriteRule ^photos/?$ /sharing [R=301,L] + # must be bigger than pingInterval (25s by default) + pingTimeout (20s by default) ProxyTimeout 60