diff --git a/page-collaboraonline.php b/page-collaboraonline.php index 4823b8a94..1f8c6e091 100644 --- a/page-collaboraonline.php +++ b/page-collaboraonline.php @@ -223,14 +223,14 @@

t('Note: This guide does NOT cover self-signed certificates. If you use a self-signed certificate then you\'re mostly on your own ;-)');?>

t('1. Install the Collabora Online server');?>

-

t('The following steps will download the Collabora Online docker, make sure to replace "cloud.nextcloud.com" with the host that your own Nextcloud runs on. Also make sure to escape all dots with double backslashes (\\), since this string will be evaluated as a regular expression (and your bash \'eats\' the first backslash.) If you want to use the docker container with more than one Nextcloud, you\'ll need to use');?> 'domain=cloud\\.nextcloud\\.com\|second\\.nextcloud\\.com' t('instead. (All hosts are separated by \|.)');?>

+

t('The following steps will download the Collabora Online docker, make sure to replace "cloud.nextcloud.com" with the host that your own Nextcloud runs on. If you want to use the docker container with more than one Nextcloud, you\'ll need to use');?> '-e "aliasgroup1=https://:443,https://|:443" -e "aliasgroup2=https://:443"' t('instead.');?>


                 docker pull collabora/code
-                docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.nextcloud\\.com' --restart always --cap-add MKNOD collabora/code
+                docker run -t -d -p 127.0.0.1:9980:9980 -e 'aliasgroup1=https://cloud.nextcloud.com:443' --restart always --cap-add MKNOD collabora/code
 			

t('Optionally, you can select the dictionaries you want with:');?>


-                docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.nextcloud\\.com' -e 'dictionaries=de en es ..' --restart always --cap-add MKNOD collabora/code
+                docker run -t -d -p 127.0.0.1:9980:9980 -e 'aliasgroup1=https://cloud.nextcloud.com:443' -e 'dictionaries=de en es ..' --restart always --cap-add MKNOD collabora/code
             

t('This way you are not only limited to German, English, Italian, French and Spanish.');?>

t('That will be enough. Once you have done that the server will listen on "localhost:9980". Now we just need to configure the locally installed Apache reverse proxy.');?>

@@ -243,7 +243,6 @@
  • a2enmod proxy_http
  • a2enmod ssl
  • -

    t('Warning, if you are using Nextcloud 23 (Nextcloud HUB II), the VirtualHost configuration has changed. You can find the latest installation information on Collabora Online official documentation', ['https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-with-apache-2-webserver']);?>

    t('Afterward, configure one VirtualHost properly to proxy the traffic. For security reason we recommend to use a subdomain such as office.nextcloud.com instead of running on the same domain. An example config can be found below:');?>

     				
    @@ -271,24 +270,24 @@
     # keep the host
     ProxyPreserveHost On
     
    -# static html, js, images, etc. served from loolwsd
    -# loleaflet is the client part of LibreOffice Online
    -ProxyPass           /loleaflet https://127.0.0.1:9980/loleaflet retry=0
    -ProxyPassReverse    /loleaflet https://127.0.0.1:9980/loleaflet
    +# static html, js, images, etc. served from coolwsd
    +# browser is the client part of LibreOffice Online
    +ProxyPass           /browser https://127.0.0.1:9980/browser retry=0
    +ProxyPassReverse    /browser https://127.0.0.1:9980/browser
     
     # WOPI discovery URL
     ProxyPass           /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
     ProxyPassReverse    /hosting/discovery https://127.0.0.1:9980/hosting/discovery
     
     # Main websocket
    -ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
    +ProxyPassMatch "/cool/(.*)/ws$" wss://127.0.0.1:9980/cool/$1/ws nocanon
     
     # Admin Console websocket
    -ProxyPass   /lool/adminws wss://127.0.0.1:9980/lool/adminws
    +ProxyPass   /cool/adminws wss://127.0.0.1:9980/cool/adminws
     
     # Download as, Fullscreen presentation and Image upload operations
    -ProxyPass           /lool https://127.0.0.1:9980/lool
    -ProxyPassReverse    /lool https://127.0.0.1:9980/lool
    +ProxyPass           /cool https://127.0.0.1:9980/cool
    +ProxyPassReverse    /cool https://127.0.0.1:9980/cool
     
     # Endpoint with information about availability of various features
     ProxyPass           /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
    @@ -296,7 +295,7 @@
     </VirtualHost>
     			

    -

    t('After configuring these do restart your apache using /etc/init.d/apache2 restart.');?>

    +

    t('After configuring these do restart your apache using systemctl restart apache2.service.');?>

    t('3. Configure the app in Nextcloud');?>

    1. t('Go to the Apps section and choose "Office & text"');?>
    2. @@ -326,7 +325,7 @@
    3. t('start the new image:
      ');?> -docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.nextcloud\\.com' --restart always --cap-add MKNOD collabora/code +docker run -t -d -p 127.0.0.1:9980:9980 -e 'aliasgroup1=https://cloud.nextcloud.com:443' --restart always --cap-add MKNOD collabora/code
    4. t('Enjoy!');?>