Sharing a port between the reverse proxy and the broker
When a broker is configured with a reverse proxy, you can use port 443 for both reverse proxy and broker.
About this task
Procedure
For example,
1.ConnectionType = Inbound
1.PortToListen = 443
2.ConnectionType = InboundHTTPS
When the broker detects that the configuration contains two connections with the same port, PortToListen, and interface, BindTo, it automatically merges the two connections.
The exception is that an InboundHTTP or InboundHTTP6 connection cannot be merged with another type of inbound connection. This limitation is because the broker does not support non-encrypted and encrypted connections on the same port. When an InboundHTTP or InboundHTTP6 connection is configured with the same port and interface as another type of inbound connection, the broker writes an error in the log. It also internally disables the InboundHTTP or InboundHTTP6 connection.
Parameter | Action taken |
---|---|
prefix.RetryDelay | The parameter is taken from the first connection that is loaded. Parameters from subsequent connections are ignored. A warning is written to the log for each conflicting parameter. |
prefix.TLSCertificateFile | |
prefix.TLSCertificatePassphrase | |
prefix.TLSCipherList | HTTPSCipherList overrides TLSCipherList. A warning is written to the log if the parameters conflict. |