Skip to content

Commit

Permalink
README: fix section of HTTP header vars in example config (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt authored and joohoi committed Sep 27, 2018
1 parent db2a6bc commit c827ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit c827ee4

Please sign in to comment.