58 lines
1.0 KiB
Bash
58 lines
1.0 KiB
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.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
|
|
}
|
|
|
|
|
|
# not working
|
|
https://dashboard.nodered.kebler.net {
|
|
import r53
|
|
log {
|
|
output stdout
|
|
format console
|
|
}
|
|
# @ui {
|
|
# header Connection *Upgrade*
|
|
# header Upgrade websocket
|
|
# }
|
|
rewrite /* /ui/{path}
|
|
reverse_proxy * http://trantor.kebler.net:1880
|
|
}
|
|
|
|
https://nodered.kebler.net {
|
|
import r53
|
|
reverse_proxy /* http://trantor.kebler.net:1880
|
|
}
|