Collabora runs the online office application in nextcloud. It is part of the libreOffice project
https://office.foreversorted.com/loleaflet/dist/admin/admin.html
https://nextcloud.com/collaboraonline/
https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html
<server_name default="https://office.foreversorted.com" desc="External hostname:port of the server running coolwsd. If empty, it's derived from the request (please set it if this doesn't work). May be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string"/>
<termination default="true" desc="Connection via proxy where coolwsd acts as working via https, but actually uses http." type="bool">true</termination>
<ssl_verification default="false" desc="Enable or disable SSL verification of hosts remote to coolwsd. If true SSL verification will be strict, otherwise certs of hosts will not be verified. You may have to disable it in test environments with self-signed certificates." type="string">false</ssl_verification>
<VirtualHost *:443> ServerName office.foreversorted.com:443 DocumentRoot /home/shared/webpages/office/html ############################################# # Reverse Proxy for Collabora online ssl termination ############################################# # SSL configuration, you may want to take the easy route instead and use Lets Encrypt! SSLCertificateFile /etc/letsencrypt/live/office.foreversorted.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/office.foreversorted.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf AllowEncodedSlashes NoDecode ProxyPreserveHost On # static html, js, images, etc. served from coolwsd # browser is the client part of Collabora Online ProxyPass /browser http://127.0.0.1:9980/browser retry=0 ProxyPassReverse /browser http://127.0.0.1:9980/browser # WOPI discovery URL ProxyPass /hosting/discovery http://127.0.0.1:9980/hosting/discovery retry=0 ProxyPassReverse /hosting/discovery http://127.0.0.1:9980/hosting/discovery # Capabilities ProxyPass /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities retry=0 ProxyPassReverse /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities # Main websocket ProxyPassMatch "/cool/(.*)/ws$" ws://127.0.0.1:9980/cool/$1/ws nocanon # Admin Console websocket ProxyPass /cool/adminws ws://127.0.0.1:9980/cool/adminws # Download as, Fullscreen presentation and Image upload operations ProxyPass /cool http://127.0.0.1:9980/cool ProxyPassReverse /cool http://127.0.0.1:9980/cool # Compatibility with integrations that use the /lool/convert-to endpoint ProxyPass /lool http://127.0.0.1:9980/cool ProxyPassReverse /lool http://127.0.0.1:9980/cool </VirtualHost>