From dd105f82d89070c6929f070a87848b9a9ac8799a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 31 Mar 2025 19:45:31 +0200 Subject: add source_ip_from_header option --- readme.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index c8ed4e5..f93438d 100644 --- a/readme.md +++ b/readme.md @@ -95,6 +95,9 @@ reported in stderr and are only fatal at startup. - **section `handler`** - A module to handle all requests. Usually an instance of `hosts` or `paths`. +- `source_ip_from_header`: Uses the X-Real-IP header for source ip address, + requests without it will be rejected. Useful when gnix is behing another + proxy. - `watch_config`: boolean if to watch the configuration file for changes and apply them accordingly. Default: true (Note: This will watch the entire parent directory of the config since most editors first move the file. Currently any -- cgit v1.2.3-70-g09d2