Module static_web_server::security_headers
source · Expand description
The module provides several HTTP security headers support.
Functions
- It appends security headers like
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
(2 years max-age),X-Frame-Options: DENY
,X-XSS-Protection: 1; mode=block
andContent-Security-Policy: frame-ancestors 'self'
.