seafile back to nginx and jellyfin to domain in caddy

This commit is contained in:
2024-11-20 13:55:11 +01:00
parent d0f703472f
commit 0e8e8a13c6
4 changed files with 48 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
{
dynamic_dns {
provider route53
domains {
veenboer.xyz rik
}
check_interval 1m
}
}
rik.veenboer.xyz \
*.rik.veenboer.xyz \
{
@@ -8,6 +18,9 @@ rik.veenboer.xyz \
secret_access_key {$AWS_SECRET_ACCESS_KEY}
}
}
route {
reverse_proxy /test/* host:8097
}
}
(unprotected) {
@@ -23,6 +36,7 @@ import unprotected jupyter host:9999
import unprotected grafana host:3333
import unprotected pgadmin host:5050
import unprotected homarr host:17575
import unprotected jellyfin host:8097
import unprotected jellyseerr host:15055
(authentik) {
@@ -79,16 +93,18 @@ insecure.rik.veenboer.xyz {
}
}
seafile.rik.veenboer.xyz {
unused.rik.veenboer.xyz {
handle {
# import authentik
reverse_proxy http://host:8100
reverse_proxy host:8100
}
handle_path /seafhttp* {
reverse_proxy http://host:8100
}
handle /seafhttp* {
uri strip_prefix seafhttp
reverse_proxy host:8182
}
handle /seafdav* {
reverse_proxy http://host:8180
handle /seafdav* {
reverse_proxy host:8180
}
}

View File

@@ -1,8 +1,10 @@
FROM caddy:2.7-builder AS builder
FROM caddy:2.9-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/route53
--with github.com/caddy-dns/route53 \
--with github.com/mholt/caddy-dynamicdns
FROM caddy:2.7-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy