Tobias Reisinger
7ff7dfe807
acme-dns is fully handled by ansible already. All services should be created by ansible in the end.
31 lines
661 B
Django/Jinja
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"
|