21 lines
594 B
TOML
21 lines
594 B
TOML
[general]
|
|
dns = "0.0.0.0:8053"
|
|
db = "postgresql://postgres:mysecretpassword@localhost/postgres"
|
|
acme = "https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
name = "acme.example.com"
|
|
|
|
[records."acme.example.com"]
|
|
A = [100, "1.1.1.1", "2.2.2.2"]
|
|
TXT = [100, "First", "Record"]
|
|
|
|
[records."acme2.example.com"]
|
|
TXT = [100, "Hallo", "World"]
|
|
CNAME = [100, "lb.cloudflare.com"]
|
|
|
|
[api]
|
|
http = "0.0.0.0:8080"
|
|
# Adding a true after the addr activates proxy protocol for a listener
|
|
https = ["0.0.0.0:8081", true]
|
|
#Every listener is optional this line could be removed completely
|
|
prom = "0.0.0.0:8081"
|