feat(quic): adapt to hocon schema

This commit is contained in:
William Yang 2021-06-10 16:18:16 +02:00
parent 1ffd2cf245
commit 5356668eac
1 changed files with 4 additions and 27 deletions

View File

@ -1841,7 +1841,7 @@ listener.ws.external.check_origins = "http://localhost:18083, http://127.0.0.1:1
##-------------------------------------------------------------------- ##--------------------------------------------------------------------
## External WebSocket/SSL listener for MQTT Protocol ## External WebSocket/SSL listener for MQTT Protocol
## listener.wss.$name is the IP address and port that the MQTT/WebSocket/SSL ## listener.wss.$name.endpoint is the IP address and port that the MQTT/WebSocket/SSL
## listener will bind. ## listener will bind.
## ##
## Value: IP:Port | Port ## Value: IP:Port | Port
@ -2159,18 +2159,13 @@ listener.wss.external.check_origins = "https://localhost:8084, https://127.0.0.1
##-------------------------------------------------------------------- ##--------------------------------------------------------------------
## External QUIC listener for MQTT Protocol ## External QUIC listener for MQTT Protocol
## listener.quic.$name is the IP address and port that the MQTT/QUIC ## listener.quic.$name.endpoint is the IP address and port that the MQTT/QUIC
## listener will bind. ## listener will bind.
## ##
## Value: IP:Port | Port ## Value: IP:Port | Port
## ##
## Examples: 14567, 127.0.0.1:14567, ::1:14567 ## Examples: 14567, 127.0.0.1:14567, ::1:14567
listener.quic.external = 14567 listener.quic.external.endpoint = 14567
## The path of WebSocket MQTT endpoint
##
## Value: URL Path
listener.quic.external.mqtt_path = "/mqtt"
## The acceptor pool for external MQTT/QUIC listener. ## The acceptor pool for external MQTT/QUIC listener.
## ##
@ -2204,25 +2199,7 @@ listener.quic.external.zone = external
## See: listener.tcp.$name.access.<no> ## See: listener.tcp.$name.access.<no>
## ##
## Value: ACL Rule ## Value: ACL Rule
listener.quic.external.access.1 = allow all listener.quic.external.access.1 = "allow all"
## If set to true, the server fails if the client does not have a Sec-WebSocket-Protocol to send.
## Set to false for WeChat MiniApp.
##
## Value: true | false
## listener.quic.external.fail_if_no_subprotocol = true
## Supported subprotocols
##
## Default: mqtt, mqtt-v3, mqtt-v3.1.1, mqtt-v5
## listener.quic.external.supported_subprotocols = mqtt, mqtt-v3, mqtt-v3.1.1, mqtt-v5
## Enable the Proxy Protocol V1/2 support.
##
## See: listener.tcp.$name.proxy_protocol
##
## Value: on | off
## listener.quic.external.proxy_protocol = on
## Sets the timeout for proxy protocol. ## Sets the timeout for proxy protocol.
## ##