caddy-retired/conf/nadal.conf

37 lines
704 B
Bash

#!/bin/bash
(r53) {
tls {
dns route53 {
max_retries 10
}
}
}
(errors) {
handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
}
# Git Server
https://git.kebler.net, https://git.645.kebler.net {
import r53
reverse_proxy http://nadal.kebler.net:3000
}
# Home Assistant Server
https://ha.kebler.net, https://ha.645.kebler.net {
import r53
reverse_proxy /* hassio.kebler.net:8123
}
https://gateway.kebler.net, https://gateway.645.kebler.net {
import r53
reverse_proxy /* router.kebler.net:8080
}
https://docker.kebler.net, https://docker.645.kebler.net {
import r53
reverse_proxy /* http://nadal.kebler.net:9000
}