aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-20 11:57:37 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-20 11:57:37 +0100
commit1d5640c009dd993969c9aba749ecbbd2efe1b634 (patch)
tree3d41ad57e9f12629e10fdfc969023bc7967b4998 /readme.md
parent69a77b36172503ada9047a756bb5972a4c7005dc (diff)
downloadgnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar
gnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar.bz2
gnix-1d5640c009dd993969c9aba749ecbbd2efe1b634.tar.zst
proxy: unix socket support
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 5d6fe8d..522e269 100644
--- a/readme.md
+++ b/readme.md
@@ -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.