Nginx stream + Certbot + 🐳
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
FollieHiyuki fe5ed66567
Update files
2 months ago
http.d Update files 2 months ago
stream.d Update files 2 months ago
Dockerfile Update files 2 months ago
LICENSE Update files 2 months ago
README.md Update files 2 months ago
docker-compose.yml Update files 2 months ago
entrypoint.sh Update files 2 months ago
nginx.conf Update files 2 months ago

README.md

Nginx + Certbot + 🐳

Introduction

This is a Docker template for nginx + certbot deployment, with stream support. I also include configurations for forwarding on ports 70 and 6443, and also for my personal website, as examples.

http.d directory contains configurations for normal http/https traffics. The other one, stream.d is for stream configurations.

How to use

  • Clone this repository
  • Change the content to your need, also mount necessary additional volumes
  • Do docker-compose up -d
  • Generate LetsEncrypt certificate by docker-compose exec nginx sh -c 'certbot --nginx certonly -d yourdomain.tld'
  • Restart the container
  • Profit

License

MIT