Lets Encrypt basically relies on a demonstration of control of a web server, and the resulting certificate is only as strong as that validation. This is a far harder problem than it looks. Therefore we copy the files into the folder and as a measure of security we will update the permission on the onlyoffice.key file to only be readable by the owner. Whats missing is a LetsEncrypt-style effort to make it easy for people in non-managed environments to get and renew certificates. The default path that the document server is configured to look for the SSL certificate is /var/This could be changed by using the SSL_KEY_PATH and SSL_CERTIFICATE_PATH environment variables but we use the default paths. I recommend setting the JWT_ENABLED and JWT_SECRET environment variables, so that the Document Server can be accessed only with the secret. Therefore we mount the volumes with the -v option. It is recommended that you store the data outside the Docker container on the host machine as it allows you to easily update Document Server once the new version is released without losing your data. Port 443 for https is exposed with the -p option. v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql \ Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells With over 10 pre-installed distros to choose from, the worry-free installation life is here Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use. v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \ v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \ In this post I describe the whole process for the setup with an SSL certificate from Let’s Encrypt. Hi, I got Apache
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |