Merge pull request #5899 from thoschaefer/fix/onlyoffice_custom_port

Support custom port for onlyoffice
This commit is contained in:
Simon L. 2025-01-22 12:11:23 +01:00 committed by GitHub
commit 499c51add1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443,
route /onlyoffice/* { route /onlyoffice/* {
uri strip_prefix /onlyoffice uri strip_prefix /onlyoffice
reverse_proxy {$ONLYOFFICE_HOST}:80 { 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 header_up X-Forwarded-Proto https
} }
} }