Skip to content

SwingbyProtocol/nginx-certbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

165 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate for nginx with Let’s Encrypt on docker-compose

This repository is accompanied by a step-by-step guide on how to set up nginx and Let’s Encrypt with Docker.

Installation docker

$ chmod +x ./install_docker.sh && ./install_docker.sh

Getting Started

    1. Setup Domain A record on your DNS service provider.
    1. 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
    1. Run the server:
$ DIR="./data" docker-compose up -d

License

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

About

Boilerplate configuration for nginx and certbot with docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%