Support custom port for onlyoffice

Signed-off-by: Thorsten Schaefer <github@npath.de>
This commit is contained in:
Thorsten Schaefer 2025-01-17 19:07:37 +01:00
parent 1630867fb3
commit a425f5b49b

View file

@ -40,7 +40,7 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443,
route /onlyoffice/* {
uri strip_prefix /onlyoffice
reverse_proxy {$ONLYOFFICE_HOST}:80 {
header_up X-Forwarded-Host {http.request.host}/onlyoffice
header_up X-Forwarded-Host {http.request.hostport}/onlyoffice
header_up X-Forwarded-Proto https
}
}