From 148ce9f20c5b4b822152a75de82aeef293a1cc45 Mon Sep 17 00:00:00 2001 From: Roman Demidov Date: Thu, 22 Oct 2020 10:29:16 +0300 Subject: [PATCH] Add fix 22 --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6f86877..6261524 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,14 @@ So you need to create and install the following files: /app/onlyoffice/DocumentServer/data/certs/tls.key /app/onlyoffice/DocumentServer/data/certs/tls.crt -When using CA certified certificates, these files are provided to you by the CA. When using self-signed certificates you need to generate these files yourself. Skip the following section if you have CA certified SSL certificates (e.g. [Let's Encrypt](https://letsencrypt.org)). +When using CA certified certificates (e.g [Let's encrypt](https://letsencrypt.org)), these files are provided to you by the CA. If you are using self-signed certificates you need to generate these files yourself (#generation-of-self-signed-certificates). + +#### Using the automatically generated Let's Encrypt SSL Certificates + + sudo docker run -i -t -d -p 443:443 \ + -e LETS_ENCRYPT_DOMAIN=your_domain -e LETS_ENCRYPT_MAIL=your_mail onlyoffice/documentserver + +If you want to get and extend Let's Encrypt SSL Certificates automatically just set LETS_ENCRYPT_DOMAIN and LETS_ENCRYPT_MAIL variables. #### Generation of Self Signed Certificates @@ -152,13 +159,6 @@ chmod 400 /app/onlyoffice/DocumentServer/data/certs/tls.key You are now just one step away from having our application secured. -#### Using the automatically generated Let's Encrypt SSL Certificates - - sudo docker run -i -t -d -p 443:443 \ - -e LETS_ENCRYPT_DOMAIN=your_domain -e LETS_ENCRYPT_MAIL=your_mail onlyoffice/documentserver - -If you want to get and extend Let's Encrypt SSL Certificates automatically just set LETS_ENCRYPT_DOMAIN and LETS_ENCRYPT_MAIL variables. - #### Available Configuration Parameters *Please refer the docker run command options for the `--env-file` flag where you can specify all required environment variables in a single file. This will save you from writing a potentially long docker run command.*