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

16 lines
297 B
Plaintext

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