Headers Middleware
Appears in
.Values.middlewares.$name.data
customRequestHeaders
Define the customRequestHeaders
Key | middlewares.$name.data.customRequestHeaders |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
customResponseHeaders
Define the customResponseHeaders
Key | middlewares.$name.data.customResponseHeaders |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlAllowCredentials
Define the accessControlAllowCredentials
Key | middlewares.$name.data.accessControlAllowCredentials |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlAllowHeaders
Define the accessControlAllowHeaders
Key | middlewares.$name.data.accessControlAllowHeaders |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlAllowMethods
Define the accessControlAllowMethods
Key | middlewares.$name.data.accessControlAllowMethods |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlAllowOriginList
Define the accessControlAllowOriginList
Key | middlewares.$name.data.accessControlAllowOriginList |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlAllowOriginListRegex
Define the accessControlAllowOriginListRegex
Key | middlewares.$name.data.accessControlAllowOriginList |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlExposeHeaders
Define the accessControlExposeHeaders
Key | middlewares.$name.data.accessControlExposeHeaders |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
accessControlMaxAge
Define the accessControlMaxAge
Key | middlewares.$name.data.accessControlMaxAge |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
addVaryHeader
Define the addVaryHeader
Key | middlewares.$name.data.addVaryHeader |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
allowedHosts
Define the allowedHosts
Key | middlewares.$name.data.allowedHosts |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
hostsProxyHeaders
Define the hostsProxyHeaders
Key | middlewares.$name.data.hostsProxyHeaders |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
sslProxyHeaders
Define the sslProxyHeaders
Key | middlewares.$name.data.sslProxyHeaders |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
stsSeconds
Define the stsSeconds
Key | middlewares.$name.data.stsSeconds |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
stsIncludeSubdomains
Define the stsIncludeSubdomains
Key | middlewares.$name.data.stsIncludeSubdomains |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
stsPreload
Define the stsPreload
Key | middlewares.$name.data.stsPreload |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
forceSTSHeader
Define the forceSTSHeader
Key | middlewares.$name.data.forceSTSHeader |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
frameDeny
Define the frameDeny
Key | middlewares.$name.data.frameDeny |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
customFrameOptionsValue
Define the customFrameOptionsValue
Key | middlewares.$name.data.customFrameOptionsValue |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
contentTypeNosniff
Define the contentTypeNosniff
Key | middlewares.$name.data.contentTypeNosniff |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
browserXssFilter
Define the browserXssFilter
Key | middlewares.$name.data.browserXssFilter |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
customBrowserXSSValue
Define the customBrowserXSSValue
Key | middlewares.$name.data.customBrowserXSSValue |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
contentSecurityPolicy
Define the contentSecurityPolicy
Key | middlewares.$name.data.contentSecurityPolicy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
contentSecurityPolicyReportOnly
Define the contentSecurityPolicyReportOnly
Key | middlewares.$name.data.contentSecurityPolicy |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
publicKey
Define the publicKey
Key | middlewares.$name.data.publicKey |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
referrerPolicy
Define the referrerPolicy
Key | middlewares.$name.data.referrerPolicy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
permissionsPolicy
Define the permissionsPolicy
Key | middlewares.$name.data.permissionsPolicy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example
isDevelopment
Define the isDevelopment
Key | middlewares.$name.data.isDevelopment |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | - |
Example