about summary refs log tree commit diff stats
path: root/Caddyfile
diff options
context:
space:
mode:
authorAlan Pearce2023-07-01 07:34:41 +0200
committerAlan Pearce2023-07-01 07:34:41 +0200
commit57e251e122e0f0d54c90103380aa83f80f0651fb (patch)
tree90b2e6089c5397f18e3a00b88951b099fca5382c /Caddyfile
parenta19a4d5172e0bc2be93b646600b6d7cd3c360f3d (diff)
downloadwebsite-57e251e122e0f0d54c90103380aa83f80f0651fb.tar.lz
website-57e251e122e0f0d54c90103380aa83f80f0651fb.tar.zst
website-57e251e122e0f0d54c90103380aa83f80f0651fb.zip
Deploy to fly.io
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Caddyfile b/Caddyfile
index 6e62a6d..df931b5 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,5 +1,14 @@
-http:// {
-	root * public/
+{
+	admin off
+	persist_config off
+}
+
+:9091 {
+	metrics
+}
+
+:8080 {
+	root * {$SITE_ROOT}
 	file_server {
 		precompressed br zstd gzip
 	}