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