summaryrefslogtreecommitdiff
path: root/Caddyfile
blob: 7dd7dea25415d6dca5d3bce0e5c6fdfdf2838395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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