Go to file
Yaroslav a703ce0d43 Fixes are on the way 2018-11-28 20:11:05 +04:00
data/nginx Initial commit 2018-09-28 10:17:07 +02:00
.gitignore Code formatting 2018-11-28 18:04:05 +04:00
LICENSE Initial commit 2018-09-28 10:17:07 +02:00
README.md Add README 2018-09-28 10:50:48 +02:00
certbot.sh Fixes are on the way 2018-11-28 20:11:05 +04:00
docker-compose.yml Automatically reload nginx conf every 6 hours 2018-11-25 11:38:52 +01:00

README.md

Boilerplate for nginx with Lets Encrypt on docker-compose

This repository is accompanied by a step-by-step guide.

Installation

  1. Install docker-compose

  2. Clone this repository: git clone https://github.com/wmnnd/nginx-certbot.git .

  3. Modify configuration:

  • Add domains and email addresses to init-letsencrypt.sh
  • Replace all occurrences of example.org with primary domain (the first one you added to init-letsencrypt.sh) in data/nginx/app.conf
  1. Run init the script
chmod +x ./init-letsencrypt.sh
sudo ./init-letsencrypt.sh
  1. Run server docker-compose up

Got questions?

Feel free to post questions in the comment section of the accompanying guide

License

All code in this repository is licensed under the terms of the MIT License. For further information please refer to the LICENSE file.