Redirect HTTP requests to HTTPS. A route created without it gets CERYX_ROUTE_SETTINGS_DEFAULT_ENFORCE_HTTPS (false unless set).
mode
string
Yes
proxy forwards requests to the target; redirect redirects to it.
certificate_path
string or null
Yes
Path of a certificate file inside the container.
key_path
string or null
Yes
Path of the matching private key file.
mtls_require_client_certificate
boolean
Yes
Require clients to present a certificate signed by mtls_trusted_ca; others get 403, and requests sent on a TLS connection opened for another hostname get 421. Requires enforce_https. A route created without it gets CERYX_ROUTE_SETTINGS_DEFAULT_MTLS_REQUIRE_CLIENT_CERTIFICATE (false unless set).
mtls_trusted_ca
string or null
Yes
Path of the CA bundle inside the container that client certificates must be signed by. When null, requests use CERYX_MTLS_DEFAULT_TRUSTED_CA.
mtls_verify_depth
integer or null, 0 or more
Yes
Maximum number of intermediate certificates between a client certificate and the CA. When null, requests use CERYX_MTLS_DEFAULT_VERIFY_DEPTH, or OpenSSL's limit.
Redirect HTTP requests to HTTPS. A route created without it gets CERYX_ROUTE_SETTINGS_DEFAULT_ENFORCE_HTTPS (false unless set).
mode
string
No
proxy forwards requests to the target; redirect redirects to it.
certificate_path
string or null
No
Path of a certificate file inside the container.
key_path
string or null
No
Path of the matching private key file.
mtls_require_client_certificate
boolean
No
Require clients to present a certificate signed by mtls_trusted_ca; others get 403, and requests sent on a TLS connection opened for another hostname get 421. Requires enforce_https. A route created without it gets CERYX_ROUTE_SETTINGS_DEFAULT_MTLS_REQUIRE_CLIENT_CERTIFICATE (false unless set).
mtls_trusted_ca
string
No
Path of the CA bundle inside the container that client certificates must be signed by. When null, requests use CERYX_MTLS_DEFAULT_TRUSTED_CA.
mtls_verify_depth
integer, 0 or more
No
Maximum number of intermediate certificates between a client certificate and the CA. When null, requests use CERYX_MTLS_DEFAULT_VERIFY_DEPTH, or OpenSSL's limit.