feat(external-proxy-x): Immich ACLs

This commit is contained in:
JJGadgets
2024-05-15 04:17:43 +08:00
parent 05067413f5
commit e324ea034f

View File

@@ -106,7 +106,7 @@ spec:
acl immich-share-ref req.hdr(Referer) -m beg https://${APP_DNS_IMMICH}/share/ # weak but better than nothing
acl immich-api-asset path_beg /api/asset/
acl immich-api-asset path_beg /api/download/asset/
acl immich-api-asset path_beg /api/timeline/buckets/
acl immich-api-asset path /api/timeline/buckets
acl immich-share-cookie req.cook(immich_shared_link_token) -m found
use_backend immich if immich-fqdn immich-path
use_backend immich if immich-fqdn immich-api-share immich-key immich-share-ref