mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Immich: rewrite /photos to /sharing 8
This commit is contained in:
@@ -73,10 +73,11 @@ data:
|
|||||||
ProxyPass / http://helm-immich-server:2283/
|
ProxyPass / http://helm-immich-server:2283/
|
||||||
ProxyPassReverse / http://helm-immich-server:2283/
|
ProxyPassReverse / http://helm-immich-server:2283/
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
RewriteRule ^photos/?$ /sharing [R=301,L]
|
||||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||||
RewriteRule ^/?(.*) "ws://helm-immich-server:2283/$1" [P,L]
|
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)
|
# must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)
|
||||||
ProxyTimeout 60
|
ProxyTimeout 60
|
||||||
|
|||||||
Reference in New Issue
Block a user