From e643afb766b6bb3b555ec89700c09ad61783ad4a Mon Sep 17 00:00:00 2001 From: Dylan Armstrong Date: Fri, 9 Oct 2020 12:33:30 -0500 Subject: [PATCH] docs: Mention x-forwarded-for in remote_ip matcher (#94) * docs: add x-forwarded-for note to remote_ip documentation * chore: period --- src/docs/markdown/caddyfile/matchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/matchers.md b/src/docs/markdown/caddyfile/matchers.md index a7fdcf1..d3bebc7 100644 --- a/src/docs/markdown/caddyfile/matchers.md +++ b/src/docs/markdown/caddyfile/matchers.md @@ -434,7 +434,7 @@ query sort=asc remote_ip ``` -By remote (client) IP address. Accepts exact IPs or CIDR ranges. +By remote (client) IP address. If `X-Forwarded-For` is passed in request headers, this will be used for remote IP address. Accepts exact IPs or CIDR ranges. #### Example: