60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"has": [{ "type": "host", "value": "gaze.freno.me" }],
|
|
"destination": "/api/$1"
|
|
},
|
|
{
|
|
"source": "/api/(.*)",
|
|
"has": [{ "type": "host", "value": "inputhalo.freno.me" }],
|
|
"destination": "/api/$1"
|
|
},
|
|
{
|
|
"source": "/api/(.*)",
|
|
"has": [{ "type": "host", "value": "nessa.freno.me" }],
|
|
"destination": "/api/$1"
|
|
},
|
|
{
|
|
"source": "/api/(.*)",
|
|
"has": [{ "type": "host", "value": "lineage.freno.me" }],
|
|
"destination": "/api/$1"
|
|
},
|
|
{ "source": "/(.*)", "has": [{ "type": "host", "value": "nessa.freno.me" }], "destination": "/nessa/$1" },
|
|
{ "source": "/(.*)", "has": [{ "type": "host", "value": "lineage.freno.me" }], "destination": "/lineage/$1" },
|
|
{ "source": "/(.*)", "has": [{ "type": "host", "value": "gaze.freno.me" }], "destination": "/gaze/$1" },
|
|
{ "source": "/(.*)", "has": [{ "type": "host", "value": "inputhalo.freno.me" }], "destination": "/inputhalo/$1" },
|
|
{ "source": "/api/(.*)", "has": [{ "type": "host", "value": "nook.freno.me" }], "destination": "/api/$1" },
|
|
{ "source": "/(.*)", "has": [{ "type": "host", "value": "nook.freno.me" }], "destination": "/nook/$1" }
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=0, must-revalidate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=0, must-revalidate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/_build/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|