mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
Immich: rewrite /photos to /sharing 7
This commit is contained in:
1 parent
9c00d7bbe0
commit
b4b8821d75
1 file changed
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user