version:2gateway:routes:-path:/name:example routehosts:-example.com-example.localhostrewrite:/methods:[]healthCheck:path:"/"interval:30stimeout:10shealthyStatuses:[200,404]## destination: will be overridden by backendsdestination:""backends:-endpoint:https://example.com-endpoint:https://example1.com-endpoint:https://example2.comcors:{}
version:2gateway:tls:# Global TLS configuration for the gatewaykeys:# List of TLS certificates and private keys-cert:/path/to/certificate.crt# File path to the TLS certificatekey:/path/to/private.key# File path to the private key-cert:LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS...# Base64-encoded certificatekey:LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS...# Base64-encoded private key-cert:|# Raw certificate content (PEM format)-----BEGIN CERTIFICATE-----<certificate content>-----END CERTIFICATE-----key:|# Raw private key content (PEM format)-----BEGIN PRIVATE KEY-----<private-key content>-----END PRIVATE KEY-----routes: