diff --git a/config/Caddyfile b/config/Caddyfile index ce40f85..8801372 100644 --- a/config/Caddyfile +++ b/config/Caddyfile @@ -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 {