Interface for the SLSy middleware options.
optional
crossdomain: CrossDomainOptions | null
The options for the 'Cross-Origin-Resource-Policy' header.
optional
dnsPrefetchControl: DnsPrefetchControlOptions | null
The options for the 'DNS-Prefetch-Control' header.
optional
dontSniffMimetype: boolean | null
Whether to set the 'X-Content-Type-Options' header to 'nosniff'.
optional
expectCt: ExpectCtOptions | null
The options for the 'Expect-CT' header.
optional
expectHeader: ExpectHeaderOptions | null
The options for the 'Expect' header.
optional
featurePolicy: FeaturePolicyOptions | null
The options for the 'Feature-Policy' header.
optional
frameguard: FrameguardOptions | null
The options for the 'Frameguard' middleware.
optional
hidePoweredBy: HidePoweredByOptions | null
The options for the X-Powered-By
header.
optional
hsts: HstsOptions | null
The options for the 'HSTS' header.
optional
ienoopen: boolean | null
Whether to set the 'X-Download-Options' header to 'noopen'.
optional
referrerPolicy: ReferrerPolicyOptions | null
The options for the 'Referrer-Policy' header.
optional
XXSSProtection: XxssProtectionOptions | null
The options for the 'X-XSS-Protection' header.