tirocinio-canali-steffo-acrate/acrate_docker/config/caddy/Caddyfile

34 lines
576 B
Caddyfile

# replace with your HTTPS domain
:80 {
@rdserver {
path "/.well-known/webfinger"
path "/.well-known/host-meta"
path "/.well-known/host-meta.xml"
path "/.well-known/host-meta.json"
}
reverse_proxy @rdserver {
to "http://rdserver"
health_uri "/.healthcheck"
health_status "204"
}
@inbox {
path "/inbox"
}
reverse_proxy @inbox {
to "http://inbox"
health_uri "/.healthcheck"
health_status "204"
}
}
{
admin {
origins "127.0.0.1"
enforce_origin
}
}