services/roles/acme_dns/templates/config.cfg.j2

32 lines
618 B
Plaintext
Raw Normal View History

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