aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-10-14 22:57:09 +0100
committerMartin Ashby <martin@ashbysoft.com>2022-10-14 22:57:09 +0100
commitf9c72b3d8f047b107449a7c6db8a602fd5535438 (patch)
treea5d32ab6a993411203ddd77abb865a70b2e2fb6c /Caddyfile
downloadblogsite-main.tar.gz
blogsite-main.tar.bz2
blogsite-main.tar.xz
blogsite-main.zip
Initial commitmain
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..02ba6af
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,6 @@
+localhost {
+ encode gzip
+ root * .
+ try_files {path} /index.html
+ file_server
+} \ No newline at end of file