I have installed the onlyoffice-bundle with mailserver, document server and community server via docker on a linux machine with the internal IP 10.0.0.80. This machine is behind a Apache webproxy to be accessible from the outside world via SSL, e.g. https://docs.example.com
The connection to the community-server works fine, but whenever i want to open a document from the document server in the browser, the document loads infinitely

It works fine, when i access it directly on the linux server where the docker images are running, but not via the apache proxy.
My proxy configuration is as following:
- Code: Select all
<VirtualHost *:443>
ServerAdmin admin@example.com
ServerName docs.example.com
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/apache2/ssl/docs.example.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/docs.example.com.key
SSLCertificateChainFile /etc/apache2/ssl/chain.crt
RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://10.0.0.80/$1 [P,L]
ProxyRequests off
<Location />
ProxyPass http://10.0.0.80/
ProxyPassReverse /
</Location>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</IfModule>
</VirtualHost>
I also tried to change the address of the community-server to docs.example.com instead of 10.0.0.80, but it didn't work either...
Anyone any ideas or suggestions what i could try??