diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-04 21:46:50 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-04 21:51:06 +0100 |
commit | 5d3cc44e423e40b0485167fc5d2e89a80d4d6e8f (patch) | |
tree | 088ba186f750bda0cee5e214e80f89f7266412ae /readme.md | |
parent | 96da4a575ebcfa38ab0a789ac8c25a0af03896a7 (diff) | |
download | gnix-5d3cc44e423e40b0485167fc5d2e89a80d4d6e8f.tar gnix-5d3cc44e423e40b0485167fc5d2e89a80d4d6e8f.tar.bz2 gnix-5d3cc44e423e40b0485167fc5d2e89a80d4d6e8f.tar.zst |
x-forwaded-... headers in proxy module
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -110,6 +110,10 @@ themselves; in that case the request is passed on. added to the request. Connection upgrades are handled by direct forwarding of network traffic. - `backend`: socket address (string) to the backend server + - `set_real_ip`: Sets the `X-Real-IP` header. (boolean) + - `set_forwarded_for`: Sets the `X-Forwarded-For`, `X-Forwarded-Host`, + `X-Forwaded-Proto`, `X-Forwarded-Scheme` and `X-Forwarded-Port` headers. + (boolean) - **module `files`** - Provides a simple built-in fileserver. The server handles `accept-ranges`. |