43 lines
688 B
Caddyfile
43 lines
688 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
|
|
}
|
|
|
|
passwords.woozle.org {
|
|
reverse_proxy /notifications/hub vaultwarden:3012
|
|
reverse_proxy vaultwarden:80
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
|