Files
opt/caddy/sites/root.caddy

24 lines
503 B
Plaintext

{$SUBDOMAIN}.{$DOMAIN} {
handle_path /test/* {
reverse_proxy host:12345
}
handle_path /jellyfin/* {
reverse_proxy host:8097
}
handle /.well-known/appspecific/com.tesla.3p.public-key.pem {
header Content-Type text/x-pem-file
respond <<TXT
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhS5sHVP4YaWgVKAS0e/B/ObkA9lQ
6Whx4Z+VYHhZtP3hQQLtVDGG3e/2ncGTpyStQgLSi9Js3wr1GgoT/DNAsQ==
-----END PUBLIC KEY-----
TXT 200
}
log {
output file /var/log/root.log
}
}