Files
openproject-deploy/proxy/Caddyfile.template
Bruno Pagno 8a1dd91371 Include and enable Hocuspocus (Collaboration Server) (#135)
* include hocuspocus and respective configuration

* include defaults to hocuspocus setup

* Update release version

Co-authored-by: Kabiru Mwenja <makabby@gmail.com>

* update readme with explicit info about secret & localhost

---------

Co-authored-by: Kabiru Mwenja <makabby@gmail.com>
2026-01-14 11:18:49 +00:00

20 lines
867 B
Caddyfile

:80 {
reverse_proxy /hocuspocus* hocuspocus:1234
reverse_proxy * http://${APP_HOST}:8080 {
# The following directives are needed to make the proxy forward explicitly the X-Forwarded-* headers. If unset,
# Caddy will reset them. See: https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#defaults
# This is needed, if you are using a reverse proxy in front of the compose stack and Caddy is NOT your first
# point of contact.
# When using Caddy is reachable as a first point of contact, it is highly recommended to configure the server's
# global `trusted_proxies` directive. See: https://caddyserver.com/docs/caddyfile/options#trusted-proxies
header_up X-Forwarded-Proto {header.X-Forwarded-Proto}
header_up X-Forwarded-For {header.X-Forwarded-For}
}
file_server
log
}