stacks/melville/Caddyfile

22 lines
284 B
Caddyfile

{
email neale@woozle.org
}
vail.woozle.org {
reverse_proxy vail:8080
}
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
}
}