标签:OLE etc restart dmi head ica doc dom sina
参考博客:http://blog.sina.com.cn/s/blog_16b158be80102xp5u.html
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;
}
标签:OLE etc restart dmi head ica doc dom sina
原文地址:https://www.cnblogs.com/ericchengge677/p/10729327.html