Commit 0c8a6665 authored by Thomas Jensen's avatar Thomas Jensen

Fix/zeit

parent b9348287
# uCtrl.dev
Built with [Hugo](https://gohugo.io/) and [GitLab CI/CD](https://gitlab.com/thomasjsn/uctrl-dev/pipelines), [deployed](https://gitlab.com/thomasjsn/uctrl-dev/environments) on [Zeit Now](https://zeit.co/now).
Built with [Hugo](https://gohugo.io/) and [GitLab CI/CD](https://gitlab.com/thomasjsn/uctrl-dev/pipelines), [deployed](https://gitlab.com/thomasjsn/uctrl-dev/environments) on [ZEIT Now](https://zeit.co/now).
## Git workflow
### Branches
......
......@@ -125,7 +125,7 @@ This site is:
* statically generated by [Hugo](https://gohugo.io/)
* using a modified [aether](https://themes.gohugo.io/aether/) theme
* deployed with [GitLab CI/CD](https://about.gitlab.com/product/continuous-integration/)
* hosted by [Zeit Now](https://zeit.co/now)
* hosted by [ZEIT Now](https://zeit.co/now)
I aim to keep it clean and uncluttered, and as fast as possible. I try to avoid using 3rd party software services (SaaS), both for performance and privacy reasons. I do use a couple though;
......@@ -141,7 +141,7 @@ So what does it cost **per month** to keep a website like this going?
Service | What | Cost
------- | ---- | ----
[Zeit Now](https://zeit.co/now) | Hosting & DNS | $0
[ZEIT Now](https://zeit.co/now) | Hosting & DNS | $0
[GitLab](https://gitlab.com/) | DevOps toolchain | $0 <sup>1</sup>
[Fathom](https://usefathom.com/) | Analytics | $0
[Hugo](https://gohugo.io/) | Site generator | $0
......
......@@ -3,16 +3,25 @@
"name": "uctrl",
"alias": "uctrl.dev",
"routes": [
{ "src": "^/(css|js)/(.*)",
{
"src": "^/(css|js)/(.*)",
"headers": { "cache-control": "public,max-age=31536000,immutable" }
},
{ "src": "/(.*).(jpe?g|gif|png|svg|ico)",
{
"src": "/(.*).(jpe?g|gif|png|svg|ico)",
"headers": { "cache-control": "public,max-age=604800" }
},
{ "src": "/(.*).(woff2?|eot|ttf|otf)",
{
"src": "/(.*).(woff2?|eot|ttf|otf)",
"headers": { "cache-control": "public,max-age=604800" }
},
{ "handle": "filesystem" },
{ "src": "/.*", "status": 404 }
{
"handle": "filesystem"
},
{
"src": "/.*",
"status": 404,
"dest": "/404.html"
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment