caddy-retired/conf/caddy.conf

23 lines
425 B
Bash

#!/bin/bash
(r53) {
tls {
dns lego_deprecated route53
}
}
# Main http/https redirect for anything arriving on port 80/http
*.kebler.net:80 {
redir https://{label1}.kebler.net{uri}
}
# Git Server
https://git.238.kebler.net {
import r53
reverse_proxy http://nas.kebler.net:3000
}
# Home Assistant Server
https://ha.238.kebler.net {
import r53
reverse_proxy /* hassio.kebler.net:8123
}