Merge pull request #44 from cpu/cpu-add-api-ip-example-config

README: Add example 'ip' in example API config.
This commit is contained in:
Joona Hoikkala 2018-02-28 20:24:08 +02:00 committed by GitHub
commit 32608e9f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,8 @@ connection = "acme-dns.db"
api_domain = ""
# autocert HTTP port, eg. 80 for answering Let's Encrypt HTTP-01 challenges. Mandatory if using tls = "letsencrypt".
autocert_port = "80"
# listen ip, default "" listens on all interfaces/addresses
ip = "127.0.0.1"
# listen port, eg. 443 for default HTTPS
port = "8080"
# possible values: "letsencrypt", "cert", "none"