Adds support for the nginx proxy protocol, which allows the node to know peer's real ip address.
The protocol needs to be enabled both in nginx:
proxy_pass core:30000;
proxy_protocol on;
and in core with the RADIXDLT_NETWORK_USE_PROXY_PROTOCOL config.
Both configs MUST match and with RADIXDLT_NETWORK_USE_PROXY_PROTOCOL enabled, only the proxied connections can be handled (for example: connecting directly to node skipping nginx would fail).
With the flag set to false (default) there's no change in server's behavior.
Adds support for the nginx proxy protocol, which allows the node to know peer's real ip address. The protocol needs to be enabled both in nginx:
and in core with the
RADIXDLT_NETWORK_USE_PROXY_PROTOCOL
config. Both configs MUST match and withRADIXDLT_NETWORK_USE_PROXY_PROTOCOL
enabled, only the proxied connections can be handled (for example: connecting directly to node skipping nginx would fail).With the flag set to false (default) there's no change in server's behavior.