From c827ee4801e5d4a223c2ce0d0e4dff55d2de2227 Mon Sep 17 00:00:00 2001 From: Julien Schmidt <julienschmidt@users.noreply.github.com> Date: Fri, 28 Sep 2018 04:51:31 +0800 Subject: [PATCH] README: fix section of HTTP header vars in example config (#112) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65dd8a1..0f11719 100644 --- a/README.md +++ b/README.md @@ -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 -- GitLab