Skip to content
Snippets Groups Projects
Commit c827ee48 authored by Julien Schmidt's avatar Julien Schmidt Committed by Joona Hoikkala
Browse files

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

parent db2a6bc2
Branches
No related tags found
No related merge requests found
...@@ -265,6 +265,10 @@ acme_cache_dir = "api-certs" ...@@ -265,6 +265,10 @@ acme_cache_dir = "api-certs"
corsorigins = [ 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] [logconfig]
# logging level: "error", "warning", "info" or "debug" # logging level: "error", "warning", "info" or "debug"
...@@ -275,10 +279,6 @@ logtype = "stdout" ...@@ -275,10 +279,6 @@ logtype = "stdout"
# logfile = "./acme-dns.log" # logfile = "./acme-dns.log"
# format, either "json" or "text" # format, either "json" or "text"
logformat = "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 ## Clients
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment