Blog/Caddyfile
Marco Blessing a686be9055
prepare initial release (#2)
* force dark mode

* add node based build

* add markdown lint

* fix markdown lint issues

* add custom caddy file

* fix page lookup for error page

* disable pagination

* adjus trivy behavior

* exclude mardkownlint from docker build

* fix trivy step and add umami tracking code

* set data-domain to exclude forks adding stats
2022-01-04 09:27:51 +01:00

13 lines
224 B
Caddyfile

:8080 {
root * /usr/share/caddy
file_server
encode gzip zstd
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
}