caddy-retired/conf/trantor.conf

33 lines
646 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.kebler.net, https://ha.238.kebler.net {
import r53
reverse_proxy /* hassio.kebler.net:8123
}
https://docker.kebler.net {
import r53
reverse_proxy /* http://trantor.kebler.net:9000
}
https://geeks.kebler.net {
import r53
reverse_proxy /* http://trantor.kebler.net:9292
}