diff options
Diffstat (limited to 'site/personal/Caddyfile')
| -rw-r--r-- | site/personal/Caddyfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/site/personal/Caddyfile b/site/personal/Caddyfile new file mode 100644 index 0000000..42d81ba --- /dev/null +++ b/site/personal/Caddyfile @@ -0,0 +1,18 @@ +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 + } +} |
