stacks/melville/Caddyfile

38 lines
579 B
Caddyfile

{
email neale@woozle.org
}
(restricted-access) {
forward_auth simpleauth:8080 {
uri /
copy_headers X-Simpleauth-Token
}
}
vail.woozle.org {
reverse_proxy vail:8080
}
deergrove.woozle.org, git.woozle.org, ancestry.woozle.org, drive.woozle.org {
reverse_proxy host.docker.internal:5880
}
www.woozle.org, woozle.org {
root * /srv/www/woozle.org
file_server
handle_path /wallart/* {
reverse_proxy wallart:8080
}
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
}