aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
index 7456ef5..40c143e 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -3,6 +3,12 @@
auto_https off
}
+localhost:8080 {
+ root * {$SITE_ROOT}
+ encode gzip
+ file_server
+}
+
http://fcunynet.fly.dev {
redir https://fcuny.net
}