mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
Thanks @robsalasco! I added this headers because saw your fork and thought that it will be pretty good to have these headers by default.
Boilerplate for nginx with Let’s Encrypt on docker-compose
This repository is accompanied by a step-by-step guide.
Installation
-
Clone this repository:
git clone https://github.com/wmnnd/nginx-certbot.git .
-
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
- Run init the script
chmod +x ./init-letsencrypt.sh
sudo ./init-letsencrypt.sh
- 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.
Description
Languages
Shell
100%