nixos-knossos/VPS-caddy/Caddyfile

31 lines
619 B
Text
Raw Normal View History

{
email youremail@email.com
}
*.home.mydomain.com {
vars {
# IP address of My Tailscale Server
tailscale_ip 100.0.0.0
}
tls {
dns gandi APIKEYHERE
}
@jellyfin host jellyfin.home.mydomain.com
handle @jellyfin {
reverse_proxy {vars.tailscale_ip}:8096
}
@books host books.home.mydomain.com
handle @books {
reverse_proxy {vars.tailscale_ip}:8083
}
# Fallback for otherwise unhandled domains
handle {
abort
}
}