summaryrefslogtreecommitdiff
path: root/site/personal/Caddyfile
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-10-31 16:59:51 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-10-31 16:59:51 -0500
commite528ccb38d1ec35ca2ac0ba42bac757b9fbd0b7b (patch)
tree19510574ec4f54b2003ad4a4eb1b56585cc74057 /site/personal/Caddyfile
parente0f529195d70404bd68d36cff5e54396a730f357 (diff)
personal: add personal website
Diffstat (limited to 'site/personal/Caddyfile')
-rw-r--r--site/personal/Caddyfile18
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
+ }
+}