alpn Policy
Parameters
value
The ALPN policy. Valid values:
HTTP1Only
: uses only HTTP 1.x. The priority of HTTP 1.1 is higher than the priority of HTTP 1.0.HTTP2Only
: uses only HTTP 2.0.HTTP2Optional
: preferentially uses HTTP 1.x over HTTP 2.0. The priority of HTTP 1.1 is higher than the priority of HTTP 1.0, and the priority of HTTP 1.0 is higher than the priority of HTTP 2.0.HTTP2Preferred
: preferentially uses HTTP 2.0 over HTTP 1.x. The priority of HTTP 2.0 is higher than the priority of HTTP 1.1, and the priority of HTTP 1.1 is higher than the priority of HTTP 1.0.
NOTE: This parameter is required if AlpnEnabled is set to true. NOTE: Effective only for TCPSSL listener.