From b4b8821d751d6d36bf981b73aa6e80dfd436db55 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 17 Dec 2024 15:11:11 +0100 Subject: [PATCH] Immich: rewrite /photos to /sharing 7 --- immich/httpd.conf-cm.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/immich/httpd.conf-cm.yml b/immich/httpd.conf-cm.yml index 08998b9..a064c1d 100644 --- a/immich/httpd.conf-cm.yml +++ b/immich/httpd.conf-cm.yml @@ -68,14 +68,15 @@ data: AllowEncodedSlashes NoDecode ProxyPreserveHost Off - ProxyPass /photos http://helm-immich-server:2283/sharing - ProxyPassReverse /photos http://helm-immich-server:2283/sharing + # ProxyPass /photos http://helm-immich-server:2283/sharing + # ProxyPassReverse /photos http://helm-immich-server:2283/sharing ProxyPass / http://helm-immich-server:2283/ ProxyPassReverse / http://helm-immich-server:2283/ RewriteEngine on 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