Skip to content

Commit a425f5b

Browse files
author
Thorsten Schaefer
committed
Support custom port for onlyoffice
Signed-off-by: Thorsten Schaefer <github@npath.de>
1 parent 1630867 commit a425f5b

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)