User Tools

Site Tools


cookbooks:devel:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cookbooks:devel:core [2018/11/28 16:30]
mslehto [Arithmetic Operations] prevent wiki formatting
cookbooks:devel:core [2018/12/27 08:52]
miconda [Global Parameters Section]
Line 46: Line 46:
 listen=udp:10.0.0.10:5060 listen=udp:10.0.0.10:5060
 </code> </code>
 +
 +Usually setting a parameter is ended by end of line, but it can be also ended with **;** (semicolon). This should be used when the grammar of a parameter allows values on multiple lines (like **listen** or **alias**) and the next line creates a conflict by being swallowed as part of value for previous parameter.
  
 ==== Modules Settings Section ==== ==== Modules Settings Section ====
Line 1886: Line 1888:
  
    tcp_accept_aliases= yes|no    tcp_accept_aliases= yes|no
 +   
 +==== tcp_accept_haproxy ====
  
 +Enable the internal TCP stack to expect a PROXY-protocol-formatted header as the first message of the connection. Both the human-readable (v1) and binary-encoded (v2) variants of the protocol are supported. This option is typically useful if you are behind a TCP load-balancer, such as HAProxy or an AWS' ELB, and allows the load-balancer to provide connection information regarding the upstream client. This enables the use of IP-based ACLs, even behind a load-balancer.
 +
 +Please note that enabling this option will reject any inbound TCP connection that does not conform to the PROXY-protocol spec.
 +
 +Default value is **no**.
 +
 +<code c>
 +tcp_accept_haproxy=yes
 +</code>
  
 ==== tcp_accept_hep3 ==== ==== tcp_accept_hep3 ====
cookbooks/devel/core.txt ยท Last modified: 2022/04/11 17:10 by bkaufman