50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"framework": "zola",
|
|
"build": {
|
|
"env": {
|
|
"ZOLA_VERSION": "0.21.0"
|
|
}
|
|
},
|
|
"cleanUrls": true,
|
|
"trailingSlash": true,
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cross-Origin-Resource-Policy",
|
|
"value": "same-site"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "strict-origin-when-cross-origin"
|
|
},
|
|
{
|
|
"key": "Strict-Transport-Security",
|
|
"value": "max-age=63072000; includeSubDomains; preload"
|
|
},
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=300, s-maxage=86400, stale-while-revalidate"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|