mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-01-27 16:10:35 +07:00
README: fix section of HTTP header vars in example config (#112)
This commit is contained in:
parent
db2a6bc288
commit
c827ee4801
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user