Skip to content

Commit 499c51a

Browse files
authored
Merge pull request nextcloud#5899 from thoschaefer/fix/onlyoffice_custom_port
Support custom port for onlyoffice
2 parents 6333b59 + a425f5b commit 499c51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containers/apache/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443,
4040
route /onlyoffice/* {
4141
uri strip_prefix /onlyoffice
4242
reverse_proxy {$ONLYOFFICE_HOST}:80 {
43-
header_up X-Forwarded-Host {http.request.host}/onlyoffice
43+
header_up X-Forwarded-Host {http.request.hostport}/onlyoffice
4444
header_up X-Forwarded-Proto https
4545
}
4646
}

0 commit comments

Comments
 (0)