This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/acme-dns/templates/config.cfg.j2
Tobias Reisinger 7ff7dfe807
Add basic ansible stuff for management
acme-dns is fully handled by ansible already. All services should be
created by ansible in the end.
2023-06-13 17:59:15 +02:00

31 lines
661 B
Django/Jinja

[general]
listen = "0.0.0.0:53"
protocol = "both"
domain = "{{ acme_dns.domain }}"
nsname = "{{ acme_dns.domain }}"
nsadmin = "{{ acme_dns.nsadmin }}"
records = [
"{{ acme_dns.domain }}. A {{ acme_dns.records.a }}",
"{{ acme_dns.domain }}. NS {{ acme_dns.domain }}.",
]
debug = false
[database]
engine = "postgres"
connection = "postgres://{{ acme_dns.db.user }}:{{ acme_dns.db.pass }}@{{ acme_dns.db.host }}/{{ acme_dns.db.db }}"
[api]
ip = "0.0.0.0"
disable_registration = false
port = "80"
tls = "none"
corsorigins = [
"*"
]
use_header = true
header_name = "X-Forwarded-For"
[logconfig]
loglevel = "info"
logtype = "stdout"
logformat = "text"