README: fix section of HTTP header vars in example config (#112)

This commit is contained in:
Julien Schmidt 2018-09-28 04:51:31 +08:00 committed by Joona Hoikkala
parent db2a6bc288
commit c827ee4801

View File

@ -265,6 +265,10 @@ acme_cache_dir = "api-certs"
corsorigins = [
"*"
]
# use HTTP header to get the client ip
use_header = false
# header name to pull the ip address / list of ip addresses from
header_name = "X-Forwarded-For"
[logconfig]
# logging level: "error", "warning", "info" or "debug"
@ -275,10 +279,6 @@ logtype = "stdout"
# logfile = "./acme-dns.log"
# format, either "json" or "text"
logformat = "text"
# use HTTP header to get the client ip
use_header = false
# header name to pull the ip address / list of ip addresses from
header_name = "X-Forwarded-For"
```
## Clients