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

16 lines
297 B
Plaintext
Raw Normal View History

2023-01-28 10:46:57 +00:00
consul {
address = "localhost:8500"
retry {
enabled = true
attempts = 12
backoff = "250ms"
}
}
template {
source = "/etc/consul-template.d/templates/gitea.tmpl"
destination = "/etc/nginx/sites-enabled/gitea"
perms = 0660
command = "systemctl reload nginx"
}