33 lines
725 B
Plaintext
33 lines
725 B
Plaintext
|
#!/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.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
|
||
|
}
|