Protocols

server/protocols[]

Specifies the protocols which will be supported by the server. The server will listen on a different port for each protocol: http/8080 and https/8443. If no protocols are specified, the server will listen for https requests only.

Additionally, the server can be configured to expect the PROXY Protocol header by using the *_proxy values.

Note that if the proxy protocol is enabled for a given protocol, all traffic for that protocol will be expected to contain the PROXY protocol headers. That is, the following entries are exclusive:

  • http and http_proxy
  • https and https_proxy
protocolPortDescription
http8080HTTP
https8443HTTPS
http_proxy8080HTTP with Proxy Protocol
https_proxy8443HTTPS with Proxy Protocol

Properties

NameTypeConstraintsDescription
protocolsArray of stringValues: http, https, http_proxy, https_proxy

Default value: https
The name(s) of the protocols which the gateway will listen on.

Example

server:
  protocols:
    - https
    - http_proxy

Did this page help you?