2020-05-18 11:53:40 -07:00
|
|
|
#!/bin/bash
|
|
|
|
(r53) {
|
2020-07-02 07:45:37 -07:00
|
|
|
tls {
|
|
|
|
dns route53 {
|
|
|
|
max_retries 10
|
|
|
|
}
|
|
|
|
}
|
2020-05-18 11:53:40 -07:00
|
|
|
}
|
2020-07-02 07:45:37 -07:00
|
|
|
(errors) {
|
|
|
|
handle_errors {
|
|
|
|
rewrite * /{http.error.status_code}.html
|
|
|
|
file_server
|
|
|
|
}
|
2020-05-18 11:53:40 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
# 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
|
|
|
|
}
|