diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-20 11:57:37 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-20 11:57:37 +0100 |
commit | 1d5640c009dd993969c9aba749ecbbd2efe1b634 (patch) | |
tree | 3d41ad57e9f12629e10fdfc969023bc7967b4998 /readme.md | |
parent | 69a77b36172503ada9047a756bb5972a4c7005dc (diff) | |
download | gnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar gnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar.bz2 gnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar.zst |
proxy: unix socket support
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -123,7 +123,8 @@ themselves; in that case the request is passed on. - Forwards the request as-is to some other server. the `x-real-ip` header is added to the request. Connection upgrades are handled by direct forwarding of network traffic. - - `backend`: socket address (string) to the backend server + - `backend`: IP socket address or absolute path to unix socket of the backend + server. (string) - `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. |