From fc667669efbffdaa93e10a4ccef9142f1aff96ab Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Sat, 31 Oct 2026 13:33:43 -0500 Subject: re-organize directories --- Caddyfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Caddyfile (limited to 'Caddyfile') diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..7dd7dea --- /dev/null +++ b/Caddyfile @@ -0,0 +1,20 @@ +hwebs.info { + root * /usr/local/www/www-personal + encode gzip + + @old { + not file { + try_files {path} {path}/index.html {path}.html + } + } + handle @old { + reverse_proxy https://hwebs-info-static.fly.dev + } + + handle { + try_files {path} {path}/index.html {path}.html + file_server + } +} + +import /usr/local/etc/caddy/sites/*.caddy -- cgit v1.3