diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 3fae776..a831a7f 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -27,16 +27,16 @@ gitea.bizmatch.net { } dev.bizmatch.net { - root * /srv - file_server - try_files {path} {path}/ /index.html - - encode gzip - handle /pictures/* { root * /home/aknuth/git/bizmatch-project/bizmatch-server file_server } + + handle { + root * /srv + try_files {path} {path}/ /index.html + file_server + } log { output file /var/log/caddy/access.log { @@ -45,7 +45,9 @@ dev.bizmatch.net { roll_keep_for 48h } } - + + encode gzip + tls { dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG }