Skip to main content

Codec Type

Summary

Codec Type specifies the codec to use for downstream connections. The codec type can be either auto, http1 or http2.

When auto is specified, the codec will be determined via TLS-ALPN-01 or protocol inference.

How to configure

Config file keysEnvironment variablesTypeDefault
codec_typeCODEC_TYPEstringauto

Examples

# config file key
codec_type: http1

# environment variable
CODEC_TYPE=http2