aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-22 10:09:50 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-22 10:10:02 +0100
commit8f7f272d68b4197f17d1e76c97546017b8ebea90 (patch)
tree2554b41d34faa0d9ff32eefb9cdb4b9b8c08770a /Caddyfile
parente122e8247a3122c7996de689213066ce66d0e8b9 (diff)
downloadmfashby.net-8f7f272d68b4197f17d1e76c97546017b8ebea90.tar.gz
mfashby.net-8f7f272d68b4197f17d1e76c97546017b8ebea90.tar.bz2
mfashby.net-8f7f272d68b4197f17d1e76c97546017b8ebea90.tar.xz
mfashby.net-8f7f272d68b4197f17d1e76c97546017b8ebea90.zip
Switch to CGI comments
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Caddyfile b/Caddyfile
index 7287822..95fddd6 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,8 +1,13 @@
+{
+ order cgi before respond
+}
+
http://localhost:8080 {
root * public
# API server
- reverse_proxy /api/* localhost:5678
+ #reverse_proxy /api/* localhost:5678
+ cgi /api/* zig-comments/zig-out/bin/comments
# Redirects for old assets
redir /10-11-21-longboard-slides.mp4 /assets/10-11-21-longboard-slides.mp4 permanent