Run the following script:
bash /usr/bin/docspace-ssl-setup EMAIL DOMAIN
Where:
EMAIL
is the email used for registration and recovery contact. Use comma to register multiple emails, for example: u1@example.com,u2@example.com.
DOMAIN
is the address of the domain where your ONLYOFFICE DocSpace Community portal is installed.
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 portal should be available via the https:// address.