nghttpx: Document special value localhost in Forwarded "by" and "for" params

This commit is contained in:
Tatsuhiro Tsujikawa 2016-02-01 23:34:07 +09:00
parent 03872bfacd
commit 35c3b36549
1 changed files with 8 additions and 6 deletions

View File

@ -1722,11 +1722,12 @@ HTTP:
of Forwarded header field. If "obfuscated" is given, of Forwarded header field. If "obfuscated" is given,
the string is randomly generated at startup. If "ip" is the string is randomly generated at startup. If "ip" is
given, the interface address of the connection, given, the interface address of the connection,
including port number, is sent with "by" parameter. including port number, is sent with "by" parameter. In
User can also specify the static obfuscated string. The case of UNIX domain socket, "localhost" is used instead
limitation is that it must start with "_", and only of address and port. User can also specify the static
consists of character set [A-Za-z0-9._-], as described obfuscated string. The limitation is that it must start
in RFC 7239. with "_", and only consists of character set
[A-Za-z0-9._-], as described in RFC 7239.
Default: obfuscated Default: obfuscated
--forwarded-for=(obfuscated|ip) --forwarded-for=(obfuscated|ip)
Specify the parameter value sent out with "for" Specify the parameter value sent out with "for"
@ -1734,7 +1735,8 @@ HTTP:
given, the string is randomly generated for each client given, the string is randomly generated for each client
connection. If "ip" is given, the remote client address connection. If "ip" is given, the remote client address
of the connection, without port number, is sent with of the connection, without port number, is sent with
"for" parameter. "for" parameter. In case of UNIX domain socket,
"localhost" is used instead of address.
Default: obfuscated Default: obfuscated
--no-via Don't append to Via header field. If Via header field --no-via Don't append to Via header field. If Via header field
is received, it is left unaltered. is received, it is left unaltered.