Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| fr:collabora_online [2020/10/25 18:41] – ↷ Page déplacée de collabora_online à fr:collabora_online zatalyz | fr:collabora_online [2023/05/29 17: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 ' | + | sudo echo ' |
| sudo apt update | sudo apt update | ||
| - | sudo apt install | + | sudo apt install |
| </ | </ | ||
| Ligne 22: | Ligne 22: | ||
| <code bash> | <code bash> | ||
| - | sudo nano /etc/loolwsd/loolwsd.xml | + | sudo nano /etc/coolwsd/coolwsd.xml |
| </ | </ | ||
| - | |||
| On change quelques paramètres. | On change quelques paramètres. | ||
| + | |||
| + | On utlise un proxy pour les Certificats : | ||
| + | |||
| + | Dans coolwsd.xml, | ||
| + | ssl.enable=false et ssl.termination=true | ||
| Dans : <storage desc=" | Dans : <storage desc=" | ||
| - | < | + | < |
| - | desc="Regex pattern of hostname to allow or deny." | + | <storage desc=" |
| - | </code> | + | < |
| + | <wopi allow=" | ||
| + | < | ||
| + | <locking desc=" | ||
| + | <refresh default=" | ||
| + | </ | ||
| + | < | ||
| + | <!-- If you need to use multiple wopi hosts, please change the mode to " | ||
| + | add the hosts below. | ||
| + | or names, add them as aliases. --> | ||
| + | < | ||
| + | <host allow=" | ||
| + | <alias desc="regex pattern of aliasname">https:// | ||
| + | <alias desc=" | ||
| + | </ | ||
| + | <!-- More " | ||
| + | </ | ||
| + | < | ||
| + | </wopi> | ||
| - | On mets des liens au Certificats car il faut qu'il soit accessible à l'user " | + | </ |
| <code bash> | <code bash> | ||
| - | cp / | + | |
| - | cp / | + | systemctl restart |
| - | cp / | + | |
| - | chown lool / | + | |
| - | chown lool / | + | |
| - | chown lool / | + | |
| - | systemctl restart | + | |
| </ | </ | ||
| - | Votre installation est accessible à https:// | ||
| =====nginx====== | =====nginx====== | ||
| - | Si on veut qu'il soit accessible depuis le port 443: | + | On utilise un conteneur proxy Nginx: |
| <code bash> | <code bash> | ||
| + | server { | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | } | ||
| server { | server { | ||
| - | | + | listen |
| - | server_name | + | |
| - | | + | ssl_certificate |
| - | ssl_certificate_key /path/to/ssl_certificate_key; | + | |
| - | # static files | ||
| - | location ^~ /loleaflet { | ||
| - | proxy_pass https:// | ||
| - | proxy_set_header Host $http_host; | ||
| - | } | ||
| - | | + | # static files |
| - | location ^~ /hosting/ | + | |
| - | proxy_pass | + | |
| - | proxy_set_header Host $http_host; | + | |
| - | } | + | } |
| - | | + | # WOPI discovery URL |
| - | location ^~ /hosting/capabilities | + | |
| - | proxy_pass | + | |
| - | proxy_set_header Host $http_host; | + | |
| - | } | + | } |
| - | | + | # Capabilities |
| - | location | + | |
| - | proxy_pass | + | |
| - | | + | |
| - | proxy_set_header Connection " | + | } |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | # main websocket |
| - | location ~ ^/lool { | + | |
| - | proxy_pass | + | |
| - | proxy_set_header Host $http_host; | + | |
| - | } | + | |
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | # download, presentation and image upload | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | # Admin Console websocket | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| - | # Admin Console websocket | ||
| - | location ^~ / | ||
| - | proxy_pass https:// | ||
| - | proxy_set_header Upgrade $http_upgrade; | ||
| - | proxy_set_header Connection " | ||
| - | proxy_set_header Host $http_host; | ||
| - | proxy_read_timeout 36000s; | ||
| - | } | ||
| } | } | ||
| </ | </ | ||
| + | |||
| {{tag> | {{tag> | ||





