diff options
author | Martin Ashby <martin@ashbysoft.com> | 2022-10-15 22:36:52 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2022-10-15 22:36:52 +0100 |
commit | 297d38b69efaa54f5585b806e7934375d2df9765 (patch) | |
tree | 76c11158f1d6f2e2f2a8d948b6e6360e75884136 /Caddyfile | |
download | blogsite2-297d38b69efaa54f5585b806e7934375d2df9765.tar.gz blogsite2-297d38b69efaa54f5585b806e7934375d2df9765.tar.bz2 blogsite2-297d38b69efaa54f5585b806e7934375d2df9765.tar.xz blogsite2-297d38b69efaa54f5585b806e7934375d2df9765.zip |
Initial commitmain
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..cd50616 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,9 @@ +localhost { + root * . + encode gzip + file_server + templates + try_files {path}.html {path} + redir /content content/ + rewrite /content/* content/index.html +}
\ No newline at end of file |