diff --git a/config/Caddyfile b/config/Caddyfile index 8801372..76dcf7e 100644 --- a/config/Caddyfile +++ b/config/Caddyfile @@ -2,25 +2,6 @@ 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} @@ -62,15 +43,19 @@ https://photos.housh.com { 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 { + + # Immich public proxy. + @public path /share /share/* + handle @public { + reverse_proxy http://frankenmini.housh.dev:3000 + } + + handle { + reverse_proxy http://frankenmini.housh.dev:2283 + } + } @snapp host s.housh.dev handle @snapp {