Immich: rewrite /photos to /sharing 9

This commit is contained in:
Ruben Hensen
2024-12-17 15:14:59 +01:00
parent b3553fead4
commit 16a051eb81
+3 -1
View File
@@ -68,12 +68,14 @@ data:
AllowEncodedSlashes NoDecode
ProxyPreserveHost Off
RewriteEngine on
RewriteRule ^photos/?$ /sharing [R=301,L]
# 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
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]