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

35 lines
576 B
Text
Raw Normal View History

# 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
}
}