Skip to content

Instantly share code, notes, and snippets.

@nusserstudios
Created November 2, 2022 06:10
Show Gist options
  • Save nusserstudios/428020f75c975c955d3662fec5b96153 to your computer and use it in GitHub Desktop.
Save nusserstudios/428020f75c975c955d3662fec5b96153 to your computer and use it in GitHub Desktop.
Hugo vercel.json
{
"build": {
"env": {
"HUGO_VERSION": "0.105.0"
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Strict-Transport-Security",
"value": "max-age=31536000; includeSubDomains; preload"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Powered-By",
"value": "Hugo"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment