stacks/melville/Caddyfile

34 lines
516 B
Caddyfile
Raw Normal View History

2022-09-04 17:12:30 -06:00
{
email neale@woozle.org
}
2022-11-10 21:22:15 -07:00
(restricted-access) {
forward_auth simpleauth:8080 {
uri /
copy_headers X-Simpleauth-Token
}
}
2022-09-04 17:12:30 -06:00
vail.woozle.org {
reverse_proxy vail:8080
}
2022-11-10 21:22:15 -07:00
deergrove.woozle.org, git.woozle.org, ancestry.woozle.org, drive.woozle.org {
2022-11-11 14:18:41 -07:00
reverse_proxy host.docker.internal:5880
2022-11-10 21:22:15 -07:00
}
2022-09-04 17:12:30 -06:00
www.woozle.org, woozle.org {
root * /srv/www/woozle.org
file_server
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
}
2022-11-10 21:22:15 -07:00