Skip to content

Redirect Scheme Middleware

Appears in

  • .Values.middlewares.$name.data

scheme

Define the scheme

Keymiddlewares.$name.data.scheme
Typestring
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
scheme: https

permanent

Define the permanent

Keymiddlewares.$name.data.permanent
Typebool
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
permanent: true

Full Examples

middlewares:
middleware-name:
enabled: true
type: redirect-scheme
data:
scheme: https
permanent: true