diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-31 19:45:31 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-31 19:45:31 +0200 |
commit | dd105f82d89070c6929f070a87848b9a9ac8799a (patch) | |
tree | 48395074f0c662d51d6a6cc95d0347ecca3614c5 /readme.md | |
parent | 939091713a21ac6e508ef365f8ee9f258f6d50f8 (diff) | |
download | gnix-dd105f82d89070c6929f070a87848b9a9ac8799a.tar gnix-dd105f82d89070c6929f070a87848b9a9ac8799a.tar.bz2 gnix-dd105f82d89070c6929f070a87848b9a9ac8799a.tar.zst |
add source_ip_from_header option
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |