Logo Khaganat

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fr:collabora_online [2023/05/29 18:51] – [Configuration] Deedfr:collabora_online [2023/05/29 19:16] (Version actuelle) – [nginx] Deed
Ligne 7: Ligne 7:
 <code bash> <code bash>
 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
-sudo echo 'deb https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian10 ./' >> /etc/apt/sources.list+sudo echo 'deb http://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./' >> /etc/apt/sources.list
 sudo apt update sudo apt update
 sudo apt install coolwsd code-brand sudo apt install coolwsd code-brand
Ligne 62: Ligne 62:
 </code> </code>
  
-Votre installation est accessible à https://office.example.com:9980 
 =====nginx====== =====nginx======
-Si on veut qu'il soit accessible depuis le port 443:+On utilise un conteneur proxy Nginx:
  
 <code bash> <code bash>
 +server {
 + listen       10.0.0.10:80;
 + server_name  office.numenaute.org;
 +
 + return      301 https://office.numenaute.org$request_uri;
 +
 +}
  
 server { server {
-    listen       443 ssl; + listen       10.0.0.10:443 ssl; 
-    server_name  office.example.com;+ server_name  office.numenaute.org;
  
-    ssl_certificate /path/to/ssl_certificate+ ssl_certificate "/etc/letsencrypt/live/office.numenaute.org/fullchain.pem"
-    ssl_certificate_key /path/to/ssl_certificate_key;+ ssl_certificate_key "/etc/letsencrypt/live/office.numenaute.org/privkey.pem";
  
-    # static files 
-    location ^~ /loleaflet { 
-        proxy_pass https://localhost:9980; 
-        proxy_set_header Host $http_host; 
-    } 
  
-    WOPI discovery URL + static files 
-    location ^~ /hosting/discovery + location ^~ /browser 
-        proxy_pass https://localhost:9980; +   proxy_pass http://10.0.0.28:9980; 
-        proxy_set_header Host $http_host; +   proxy_set_header Host $http_host; 
-    }+ }
  
-    Capabilities + WOPI discovery URL 
-    location ^~ /hosting/capabilities + location ^~ /hosting/discovery 
-        proxy_pass https://localhost:9980; +   proxy_pass http://10.0.0.28:9980; 
-        proxy_set_header Host $http_host; +   proxy_set_header Host $http_host; 
-    }+ }
  
-    main websocket + Capabilities 
-    location ^/lool/(.*)/ws$ + location ^/hosting/capabilities 
-        proxy_pass https://localhost:9980; +   proxy_pass http://10.0.0.28:9980; 
-        proxy_set_header Upgrade $http_upgrade; +   proxy_set_header Host $http_host; 
-        proxy_set_header Connection "Upgrade"; + }
-        proxy_set_header Host $http_host; +
-        proxy_read_timeout 36000s; +
-    }+
  
-    # download, presentation and image upload + # main websocket 
-    location ~ ^/lool + location ~ ^/cool/(.*)/ws$ { 
-        proxy_pass https://localhost:9980; +   proxy_pass http://10.0.0.28:9980; 
-        proxy_set_header Host $http_host; +   proxy_set_header Upgrade $http_upgrade; 
-    }+   proxy_set_header Connection "Upgrade"; 
 +   proxy_set_header Host $http_host; 
 +   proxy_read_timeout 36000s; 
 + } 
 + 
 + # download, presentation and image upload 
 + location ~ ^/(c|l)ool 
 +   proxy_pass http://10.0.0.28:9980; 
 +   proxy_set_header Host $http_host; 
 + 
 + 
 + # Admin Console websocket 
 + location ^~ /cool/adminws { 
 +   proxy_pass http://1O.O.O.28:9980; 
 +   proxy_set_header Upgrade $http_upgrade; 
 +   proxy_set_header Connection "Upgrade"; 
 +   proxy_set_header Host $http_host; 
 +   proxy_read_timeout 36000s; 
 + }
  
-    # Admin Console websocket 
-    location ^~ /lool/adminws { 
-        proxy_pass https://localhost:9980; 
-        proxy_set_header Upgrade $http_upgrade; 
-        proxy_set_header Connection "Upgrade"; 
-        proxy_set_header Host $http_host; 
-        proxy_read_timeout 36000s; 
-    } 
 } }
  
 </code> </code>
 +
 {{tag>libreoffice outils server kloud}} {{tag>libreoffice outils server kloud}}
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
fr/collabora_online.1685379060.txt.gz · Dernière modification : 2023/05/29 18:51 de Deed

Licences Mentions légales Accueil du site Contact