码迷,mamicode.com
首页 > 其他好文 > 详细

09.安装Collabora Online服务

时间:2019-04-18 14:59:29      阅读:460      评论:0      收藏:0      [点我收藏+]

标签:OLE   etc   restart   dmi   head   ica   doc   dom   sina   

安装Collabora Online服务

 

参考博客:http://blog.sina.com.cn/s/blog_16b158be80102xp5u.html

一、安装docker服务

yum install -y yum-utils

yum install docker -y
systemctl enable docker
systemctl start docker
docker ps
systemctl status docker

docker pull collabora/code

docker run  -t -d -p 127.0.0.1:9980:9980 -e ‘domain=collabora\.flybird\.com‘    -e "username=admin" -e "password=123456" --restart always --cap-add MKNOD collabora/code

 

server {
    listen       443 ssl;
    server_name   collabora.orgleaf.com;
    ssl on;
    ssl_certificate /etc/letsencrypt/live/cloud.orgleaf.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/cloud.orgleaf.com/privkey.pem; # managed by Certbot
    #ssl_certificate /etc/nginx/cert/nextcloud.crt;
    #ssl_certificate_key /etc/nginx/cert/nextcloud.key;
    location / {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
            
    }


    location ^~ /loleaflet {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
            
    }

    location ^~ /hosting/discovery {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
            
    }

    location ^~ /lool {
        proxy_pass https://localhost:9980;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
            
    }

 

09.安装Collabora Online服务

标签:OLE   etc   restart   dmi   head   ica   doc   dom   sina   

原文地址:https://www.cnblogs.com/ericchengge677/p/10729327.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!