Files
bdi_podman_serverconf/containers/nextcloud/collaboraoffice.caddy
T
2026-07-12 18:58:11 +02:00

27 строки
777 B
Plaintext

office.[DOMAIN] {
import gateway_error
@browser path /browser*
reverse_proxy @browser collaboraoffice:9980
@hostingDiscovery path /hosting/discovery*
reverse_proxy @hostingDiscovery collaboraoffice:9980
@hostingCapabilities path /hosting/capabilities*
reverse_proxy @hostingCapabilities collaboraoffice:9980
# Più specifici del catch-all @cool sotto: vanno prima
@coolAdminWs path /cool/adminws*
reverse_proxy @coolAdminWs collaboraoffice:9980
@coolWs path /cool/ws*
reverse_proxy @coolWs collaboraoffice:9980
@coolWsRegex path_regexp ^/cool/(.*)/ws$
reverse_proxy @coolWsRegex collaboraoffice:9980
# Catch-all: deve restare per ultimo, altrimenti intercetta anche le route sopra
@cool path_regexp ^/(c|l)ool
reverse_proxy @cool collaboraoffice:9980
}