| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are
added both to HTTP and Stream.
|
|
|
|
|
|
| |
Now a new structure ngx_proxy_protocol_t holds these fields. This allows
to add more PROXY protocol fields in the future without modifying the
connection structure.
|
|
|
|
| |
Both Solaris and Windows define "s_addr" as a macro.
|
|
|
|
|
|
|
|
| |
- use normal prefixes for types and macros
- removed some macros and types
- revised debug messages
- removed useless check of ngx_sock_ntop() returning 0
- removed special processing of AF_UNSPEC
|
| |
|
|
|
|
|
|
|
|
| |
The protocol used on inbound connection is auto-detected and corresponding
parser is used to extract passed addresses. TLV parameters are ignored.
The maximum supported size of PROXY protocol header is 107 bytes
(similar to version 1).
|
| |
|
| |
|
|
|
|
| |
The new name is consistent with the ngx_proxy_protocol_write function.
|
|
|
|
|
| |
The new directive "proxy_protocol" toggles sending out PROXY protocol header
to upstream once connection is established.
|
|
Client address specified in the PROXY protocol header is now
saved in the $proxy_protocol_addr variable and can be used in
the realip module.
This is currently not implemented for mail.
|