feat: Test public photo proxy on same domain as immich.

This commit is contained in:
2025-03-21 14:51:46 -04:00
parent 3298dae286
commit 84b21656c4

View File

@@ -2,6 +2,25 @@
email {env.ACME_EMAIL}
}
https://photos.housh.com {
tls {
dns cloudflare {env.CF_AUTH_TOKEN}
resolvers 1.1.1.1
}
# Immich Public Proxy path
@public path /share /share/*
handle @public {
reverse_proxy http://frankenmini.housh.dev:3000
}
# All other paths for photos.
handle {
reverse_proxy http://frankenmini.housh.dev:2283
}
}
*.housh.dev {
tls {
dns cloudflare {env.CF_AUTH_TOKEN}
@@ -43,15 +62,15 @@
reverse_proxy uptime_kuma:3001
}
@immich host photos.housh.dev
handle @immich {
reverse_proxy http://frankenmini.housh.dev:2283
}
@immichpublicproxy host photo-proxy.housh.dev
handle @immichpublicproxy {
reverse_proxy http://frankenmini.housh.dev:3000
}
# @immich host photos.housh.dev
# handle @immich {
# reverse_proxy http://frankenmini.housh.dev:2283
# }
#
# @immichpublicproxy host photo-proxy.housh.dev
# handle @immichpublicproxy {
# reverse_proxy http://frankenmini.housh.dev:3000
# }
@snapp host s.housh.dev
handle @snapp {