aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-31 19:45:31 +0200
committermetamuffin <metamuffin@disroot.org>2025-03-31 19:45:31 +0200
commitdd105f82d89070c6929f070a87848b9a9ac8799a (patch)
tree48395074f0c662d51d6a6cc95d0347ecca3614c5 /readme.md
parent939091713a21ac6e508ef365f8ee9f258f6d50f8 (diff)
downloadgnix-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.md3
1 files changed, 3 insertions, 0 deletions
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