dnsservice/ansible/files/Caddyfile
2024-08-03 14:05:31 -05:00

25 lines
337 B
Caddyfile

{
admin "localhost:2019"
email a@tuxpa.in
servers {
metrics
}
}
{{hostvars[inventory_hostname]['public_dns']}} mydns.gay {
handle /dns-query* {
reverse_proxy h2c://127.0.0.1:8053 {
lb_retries 5
lb_try_duration 5s
lb_try_interval 500ms
}
}
handle {
root * /var/www/site
file_server
}
}
# vi: ft=caddyfile