Switching ONLYOFFICE Docs to HTTPS protocol 您所在的位置:网站首页 onlyoffice使用HTTPS转发报错 Switching ONLYOFFICE Docs to HTTPS protocol

Switching ONLYOFFICE Docs to HTTPS protocol

2023-05-17 09:15| 来源: 网络整理| 查看: 265

The easiest way to switch聽ONLYOFFICE Docs聽to HTTPS is to automatically get Let's Encrypt SSL Certificates using certbot.

Install certbot. This process differs depending on the operating system - DEB- or RPM-based. Please choose the corresponding tab to read instructions for your OS:

For example, on Ubuntu 20 this can be done with the following commands: sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot For example, on CentOS8 this can be done with the following commands: sudo yum install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap sudo snap install core sudo snap refresh core sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot

Once certbot is installed on your machine, run the script specifying your email and domain:

sudo bash /usr/bin/documentserver-letsencrypt.sh [email protected] yourdomain.com

The script will automatically create and install the聽letsencrypt.org聽CA-signed certificate to your server and restart the NGINX service for the changes to take effect.

Now your ONLYOFFICE Docs should be available at the聽https://yourdomain.com聽address.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有