diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-10-31 13:33:43 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-10-31 13:33:43 -0500 |
| commit | fc667669efbffdaa93e10a4ccef9142f1aff96ab (patch) | |
| tree | 20ab72cc14ddff255361040168de348624ba5ba9 /Caddyfile | |
| parent | fac36c23ec8fd10b0bf8cf76647c830046f1d0c2 (diff) | |
re-organize directories
Diffstat (limited to 'Caddyfile')
| -rw-r--r-- | Caddyfile | 20 |
1 files changed, 20 insertions, 0 deletions
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 |
