commit 0c74ed3396d0503b06ff2f9aff48e02efece3833 parent a582ba3d0c77a53dbeb5af00eec28930a071e5c0 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 26 Apr 2026 22:04:32 +0200 add new -f command-line option for paivana-httpd to spec Diffstat:
| M | manpages/paivana-httpd.1.rst | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/manpages/paivana-httpd.1.rst b/manpages/paivana-httpd.1.rst @@ -34,6 +34,13 @@ them to the respective webserver configured. Its options are as follows: +**-f** | **--respect-forwarded-headers** + If set, derive the client address from the leftmost entry of the + "X-Forwarded-For" request header (falling back to the socket + address only when the header is absent). Only enable this when + paivana-httpd is itself behind a trusted reverse proxy that + sanitizes that header - otherwise clients can spoof their address. + **-h** | **--help** Print short help on options.