split Caddyfile

This commit is contained in:
2024-12-01 14:52:27 +01:00
parent 4f9a87f775
commit 027c5f422f
6 changed files with 150 additions and 155 deletions

20
caddy/sites/root.caddy Normal file
View File

@@ -0,0 +1,20 @@
rik.veenboer.xyz \
*.rik.veenboer.xyz \
{
handle_path /test/* {
reverse_proxy host:12345
}
handle_path /jellyfin/* {
reverse_proxy host:8097
}
tls {
dns route53 {
access_key_id {$AWS_ACCESS_KEY_ID}
secret_access_key {$AWS_SECRET_ACCESS_KEY}
}
}
log {
output file /var/log/root.log
}
}