nginx-config/consul-template.d/conf/gotosocial.conf

16 lines
307 B
Plaintext

consul {
address = "localhost:8500"
retry {
enabled = true
attempts = 12
backoff = "250ms"
}
}
template {
source = "/etc/consul-template.d/templates/gotosocial.tmpl"
destination = "/etc/nginx/sites-enabled/gotosocial"
perms = 0660
command = "systemctl reload nginx"
}