This repository is accompanied by a step-by-step guide on how to set up nginx and Let’s Encrypt with Docker.
$ chmod +x ./install_docker.sh && ./install_docker.sh
-
- Setup Domain A record on your DNS service provider.
-
- Setup SSL certificate via Let's encrypt.
$ export DIR="./data" DOMAIN=s1.example.com FORWARD=172.17.0.1 PORT=8067 WITH_IDNEXERS=true EMAIL=admin@example.com
$ ./init-letsencrypt.sh-
- Run the server:
$ DIR="./data" docker-compose up -d
All code in this repository is licensed under the terms of the MIT License. For further information please refer to the LICENSE file.