mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 11:25:22 -04:00
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"hosting": {
|
|
"public": "public",
|
|
"headers": [
|
|
{
|
|
"source": "**/*",
|
|
"headers": [{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "**/",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "max-age=180"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-UA-Compatible",
|
|
"value": "ie=edge"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source" : "**/*.@(jpg|jpeg|gif|png|ico)",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=604800"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "**/*.@(css|js)",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=86400"
|
|
}]
|
|
},
|
|
{
|
|
"source" : "404.html",
|
|
"headers" : [{
|
|
"key" : "Cache-Control",
|
|
"value" : "max-age=300"
|
|
}]
|
|
}
|
|
]
|
|
}
|
|
}
|