|
|
@@ -53,7 +53,7 @@ listeners.tcp.default {
|
|
|
"allow all"
|
|
|
]
|
|
|
|
|
|
- ## Enable the Proxy Protocol V1/2 if the EMQ X cluster is deployed
|
|
|
+ ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed
|
|
|
## behind HAProxy or Nginx.
|
|
|
##
|
|
|
## See: https://www.haproxy.com/blog/haproxy/proxy-protocol/
|
|
|
@@ -63,7 +63,7 @@ listeners.tcp.default {
|
|
|
## Default: false
|
|
|
proxy_protocol = false
|
|
|
|
|
|
- ## Sets the timeout for proxy protocol. EMQ X will close the TCP connection
|
|
|
+ ## Sets the timeout for proxy protocol. EMQX will close the TCP connection
|
|
|
## if no proxy protocol packet received within the timeout.
|
|
|
##
|
|
|
## @doc listeners.tcp.<name>.proxy_protocol_timeout
|
|
|
@@ -152,7 +152,7 @@ listeners.ssl.default {
|
|
|
"allow all"
|
|
|
]
|
|
|
|
|
|
- ## Enable the Proxy Protocol V1/2 if the EMQ X cluster is deployed
|
|
|
+ ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed
|
|
|
## behind HAProxy or Nginx.
|
|
|
##
|
|
|
## See: https://www.haproxy.com/blog/haproxy/proxy-protocol/
|
|
|
@@ -162,7 +162,7 @@ listeners.ssl.default {
|
|
|
## Default: true
|
|
|
proxy_protocol = false
|
|
|
|
|
|
- ## Sets the timeout for proxy protocol. EMQ X will close the TCP connection
|
|
|
+ ## Sets the timeout for proxy protocol. EMQX will close the TCP connection
|
|
|
## if no proxy protocol packet received within the timeout.
|
|
|
##
|
|
|
## @doc listeners.ssl.<name>.proxy_protocol_timeout
|
|
|
@@ -339,7 +339,7 @@ listeners.ws.default {
|
|
|
"allow all"
|
|
|
]
|
|
|
|
|
|
- ## Enable the Proxy Protocol V1/2 if the EMQ X cluster is deployed
|
|
|
+ ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed
|
|
|
## behind HAProxy or Nginx.
|
|
|
##
|
|
|
## See: https://www.haproxy.com/blog/haproxy/proxy-protocol/
|
|
|
@@ -349,7 +349,7 @@ listeners.ws.default {
|
|
|
## Default: true
|
|
|
proxy_protocol = false
|
|
|
|
|
|
- ## Sets the timeout for proxy protocol. EMQ X will close the TCP connection
|
|
|
+ ## Sets the timeout for proxy protocol. EMQX will close the TCP connection
|
|
|
## if no proxy protocol packet received within the timeout.
|
|
|
##
|
|
|
## @doc listeners.ws.<name>.proxy_protocol_timeout
|
|
|
@@ -442,7 +442,7 @@ listeners.wss.default {
|
|
|
"allow all"
|
|
|
]
|
|
|
|
|
|
- ## Enable the Proxy Protocol V1/2 if the EMQ X cluster is deployed
|
|
|
+ ## Enable the Proxy Protocol V1/2 if the EMQX cluster is deployed
|
|
|
## behind HAProxy or Nginx.
|
|
|
##
|
|
|
## See: https://www.haproxy.com/blog/haproxy/proxy-protocol/
|
|
|
@@ -452,7 +452,7 @@ listeners.wss.default {
|
|
|
## Default: true
|
|
|
proxy_protocol = false
|
|
|
|
|
|
- ## Sets the timeout for proxy protocol. EMQ X will close the TCP connection
|
|
|
+ ## Sets the timeout for proxy protocol. EMQX will close the TCP connection
|
|
|
## if no proxy protocol packet received within the timeout.
|
|
|
##
|
|
|
## @doc listeners.wss.<name>.proxy_protocol_timeout
|
|
|
@@ -1567,7 +1567,7 @@ example_common_websocket_options {
|
|
|
## Default: ""
|
|
|
websocket.check_origins = "http://localhost:18083, http://127.0.0.1:18083"
|
|
|
|
|
|
- ## Specify which HTTP header for real source IP if the EMQ X cluster is
|
|
|
+ ## Specify which HTTP header for real source IP if the EMQX cluster is
|
|
|
## deployed behind NGINX or HAProxy.
|
|
|
##
|
|
|
## @doc listeners.<name>.websocket.proxy_address_header
|
|
|
@@ -1575,7 +1575,7 @@ example_common_websocket_options {
|
|
|
## Default: X-Forwarded-For
|
|
|
websocket.proxy_address_header = X-Forwarded-For
|
|
|
|
|
|
- ## Specify which HTTP header for real source port if the EMQ X cluster is
|
|
|
+ ## Specify which HTTP header for real source port if the EMQX cluster is
|
|
|
## deployed behind NGINX or HAProxy.
|
|
|
##
|
|
|
## @doc listeners.<name>.websocket.proxy_port_header
|