document-server-proxy
document-server-proxy copied to clipboard
Caddy v2
Hi. Could you please add Caddyfile example for Caddy v2 reverse proxy.
Yes, would love to see an example as well!
Especially an virtual-host example
just figured out what to do for virtualhost:
https://yourdomain.com:443 {
# Onlyoffice
route /onlyoffice/* {
uri strip_prefix /onlyoffice
reverse_proxy {$ONLYOFFICE_HOST}:80 {
header_up X-Forwarded-Host {http.request.host}/onlyoffice
}
}
}