| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- ##--------------------------------------------------------------------
- ## QUIC Listener
- ##
- ## Add a QUIC Listener
- ##--------------------------------------------------------------------
- ## Note: This is an example of how to configure this feature
- ## you should copy and paste the below data into the emqx.conf for working
- ## Note: Modifying the 'quicname' to what you need
- listeners.quic.quicname {
- ## Port or Address to listen on, 0 means disable
- bind = 14567 ## or with an IP, e.g. "127.0.0.1:14567"
- ## When publishing or subscribing, prefix all topics with a mountpoint string
- mountpoint = "${clientid}/msg"
- ## Client authentication
- ## Type:
- ## - true :: enable
- ## - false :: disable
- ## - quick_deny_anonymous :: denied immediately without if username is not provided
- enable_authn = true
- ## Socket acceptor pool size for TCP protocols
- acceptors = 16
- ## Maximum number of simultaneous connections
- ## Type: infinity | Integer
- max_connections = infinity
- ## TLS cipher suite names
- ciphers = ["TLS_AES_256_GCM_SHA384", "TLS_AES_128_GCM_SHA256", "TLS_CHACHA20_POLY1305_SHA256"]
- ssl_options {
- ## Trusted PEM format CA certificates bundle file
- cacertfile = "data/certs/cacert.pem"
- ## PEM format certificates chain file
- certfile = "data/certs/cert.pem"
- ## PEM format private key file
- keyfile = "data/certs/key.pem"
- ## Enable or disable peer verification
- verify = verify_none ## to verify_peer to enable
- }
- }
|