diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-06-30 14:41:32 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-06-30 14:41:32 +0000 |
| commit | 442b0d45ec12a0a383405f923d11f015adf0a25e (patch) | |
| tree | a27221e88cb52feadc6f2e1aca5b8660ec16ec5c /doc/proxy-server.html | |
| parent | afc2f8fc0799edd99fbecf4e13a3ca235288de22 (diff) | |
| download | s6-networking-442b0d45ec12a0a383405f923d11f015adf0a25e.tar.gz | |
Adapt proxy-server to new gol
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/proxy-server.html')
| -rw-r--r-- | doc/proxy-server.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/proxy-server.html b/doc/proxy-server.html index 8fb7909..8dde3cb 100644 --- a/doc/proxy-server.html +++ b/doc/proxy-server.html @@ -36,7 +36,7 @@ for a direct connection. <h2> Interface </h2> <pre> - proxy-server [ -1||--disable-v2 | -2|--disable-v1 ] [ -t <em>timeout</em> ] [ -v <em>verbosity</em> ] <em>prog...</em> + proxy-server [ -1||--only-v1 | -2|--only-v2 ] [ -t <em>timeout</em> ] [ -v <em>verbosity</em> ] <em>prog...</em> </pre> <ul> @@ -74,18 +74,15 @@ forever for data. </dd> <dt> -v <em>verbosity</em> </dt> <dd> Be more or less verbose. The default is 1. Changing it does not have much effect at the moment, leave it alone. </dd> - <dt> -1 or --disable-v2 </dt> + <dt> -1 or --only-v1 </dt> <dd> Disable version 2 of the PROXY protocol, only expect v1, i.e. a line of text. </dd> - <dt> -2 or --disable-v1 </dt> + <dt> -2 or --only-v2 </dt> <dd> Disable version 1 of the PROXY protocol, only expect v2, i.e. a binary structure. </dd> </dl> <p> If neither <tt>-1</tt> or <tt>-2</tt> is selected, proxy-server will default -to supporting both versions of the protocol, at a tiny speed cost. If you pass -both options, meaning you disable both versions, proxy-server will write a -warning and directly exec into <em>prog...</em> without expecting a PROXY -header of any kind. +to supporting both versions of the protocol, at a tiny speed cost. </p> <h2> Common usage </h2> |
