Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| infrastructure:services:cloud:collabora:install [27/04/2023 14:05] – Stéphane Paillet | infrastructure:services:cloud:collabora:install [28/04/2023 06:51] (Version actuelle) – Stéphane Paillet | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Installation Collabora Online Development Edition ====== | ====== Installation Collabora Online Development Edition ====== | ||
| - | |||
| - | Nous installons le paquet dirmngr pour pouvoir ensuite récupérer la clé GPG publique du dépôt | ||
| - | < | ||
| - | sudo aptitude install dirmngr | ||
| - | </ | ||
| Nous récupérons la clé publique du dépôt | Nous récupérons la clé publique du dépôt | ||
| < | < | ||
| - | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D | + | cd / |
| + | sudo wget https:// | ||
| </ | </ | ||
| Ligne 19: | Ligne 15: | ||
| < | < | ||
| sudo aptitude update && sudo aptitude install apt install coolwsd code-brand hunspell-fr | sudo aptitude update && sudo aptitude install apt install coolwsd code-brand hunspell-fr | ||
| + | </ | ||
| + | |||
| + | ===== Nginx ===== | ||
| + | |||
| + | Nous installons Nginx | ||
| + | < | ||
| + | sudo apt install nginx | ||
| + | </ | ||
| + | |||
| + | Nous configurons le vHost | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | server { | ||
| + | listen 80; | ||
| + | server_name collabora.grohub.org; | ||
| + | # enforce https | ||
| + | return 301 https:// | ||
| + | } | ||
| + | |||
| + | server { | ||
| + | listen 443 ssl; | ||
| + | server_name | ||
| + | |||
| + | # Logs | ||
| + | access_log | ||
| + | error_log | ||
| + | | ||
| + | # Use Mozilla' | ||
| + | # https:// | ||
| + | # NOTE: some settings below might be redundant | ||
| + | ssl_certificate / | ||
| + | ssl_certificate_key / | ||
| + | ssl_protocols TLSv1.2; | ||
| + | |||
| + | # static files | ||
| + | location ^~ /browser { | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Host $http_host; | ||
| + | } | ||
| + | |||
| + | # WOPI discovery URL | ||
| + | location ^~ / | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Host $http_host; | ||
| + | } | ||
| + | |||
| + | # Capabilities | ||
| + | location ^~ / | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Host $http_host; | ||
| + | } | ||
| + | |||
| + | # main websocket | ||
| + | location ~ ^/ | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Upgrade $http_upgrade; | ||
| + | proxy_set_header Connection " | ||
| + | proxy_set_header Host $http_host; | ||
| + | proxy_read_timeout 36000s; | ||
| + | } | ||
| + | |||
| + | # download, presentation and image upload | ||
| + | location ~ ^/(c|l)ool { | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Host $http_host; | ||
| + | } | ||
| + | |||
| + | # Admin Console websocket | ||
| + | location ^~ / | ||
| + | proxy_pass http:// | ||
| + | proxy_set_header Upgrade $http_upgrade; | ||
| + | proxy_set_header Connection " | ||
| + | proxy_set_header Host $http_host; | ||
| + | proxy_read_timeout 36000s; | ||
| + | } | ||
| + | } | ||
| </ | </ | ||