Content Security Policy

server/content_security_policy

Specifies whether or not the gateway will use the default content security policy.

The default policy inserts the following HTTP headers into all responses:

headervalue
x-frame-optionsDENY
x-xss-protection1
content-security-policydefault-src 'self'; frame-ancestors 'self'; form-action 'self';
x-content-type-optionsnosniff

Property

NameTypeConstraints
content_security_policystringValues: default, disabled

Default value: default

Example

server:
  content_security_policy: disabled