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 19:08] – [Configuration] Deedfr:collabora_online [2023/05/29 19:16] (Version actuelle) – [nginx] Deed
Ligne 63: Ligne 63:
  
 =====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 {
- + listen       10.0.0.10:80;
- listen       10.0.0.10:443 ssl; +
  server_name  office.numenaute.org;  server_name  office.numenaute.org;
  
 + return      301 https://office.numenaute.org$request_uri;
  
 +}
  
- ssl_certificate /path/to/certificate+server { 
- + listen       10.0.0.10:443 ssl
- ssl_certificate_key /path/to/key;+ server_name  office.numenaute.org;
  
 + ssl_certificate "/etc/letsencrypt/live/office.numenaute.org/fullchain.pem";
 + ssl_certificate_key "/etc/letsencrypt/live/office.numenaute.org/privkey.pem";
  
  
  # static files  # static files
- 
  location ^~ /browser {  location ^~ /browser {
- 
    proxy_pass http://10.0.0.28:9980;    proxy_pass http://10.0.0.28:9980;
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
  }  }
- 
- 
  
  # WOPI discovery URL  # WOPI discovery URL
- 
  location ^~ /hosting/discovery {  location ^~ /hosting/discovery {
- 
    proxy_pass http://10.0.0.28:9980;    proxy_pass http://10.0.0.28:9980;
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
  }  }
- 
- 
  
  # Capabilities  # Capabilities
- 
  location ^~ /hosting/capabilities {  location ^~ /hosting/capabilities {
- 
    proxy_pass http://10.0.0.28:9980;    proxy_pass http://10.0.0.28:9980;
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
  }  }
- 
- 
  
  # main websocket  # main websocket
- 
  location ~ ^/cool/(.*)/ws$ {  location ~ ^/cool/(.*)/ws$ {
- 
    proxy_pass http://10.0.0.28:9980;    proxy_pass http://10.0.0.28:9980;
- 
    proxy_set_header Upgrade $http_upgrade;    proxy_set_header Upgrade $http_upgrade;
- 
    proxy_set_header Connection "Upgrade";    proxy_set_header Connection "Upgrade";
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
    proxy_read_timeout 36000s;    proxy_read_timeout 36000s;
- 
  }  }
- 
- 
  
  # download, presentation and image upload  # download, presentation and image upload
- 
  location ~ ^/(c|l)ool {  location ~ ^/(c|l)ool {
- 
    proxy_pass http://10.0.0.28:9980;    proxy_pass http://10.0.0.28:9980;
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
  }  }
- 
- 
  
  # Admin Console websocket  # Admin Console websocket
- 
  location ^~ /cool/adminws {  location ^~ /cool/adminws {
- 
    proxy_pass http://1O.O.O.28:9980;    proxy_pass http://1O.O.O.28:9980;
- 
    proxy_set_header Upgrade $http_upgrade;    proxy_set_header Upgrade $http_upgrade;
- 
    proxy_set_header Connection "Upgrade";    proxy_set_header Connection "Upgrade";
- 
    proxy_set_header Host $http_host;    proxy_set_header Host $http_host;
- 
    proxy_read_timeout 36000s;    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.1685380102.txt.gz · Dernière modification : 2023/05/29 19:08 de Deed

Licences Mentions légales Accueil du site Contact