Skip to content

David-Klemenc/nginx-with-lets-encrypt-in-docker-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

nginx with Let's Encrypt in Docker container configuration example

A complete example to the article

Content

  • nginx/Dockerfile - image of nginx with installed Certbot
  • nginx/entrypoint.sh - image's entrypoint
  • nginx/nginx.conf - nginx configuration
  • nginx/renew - certificates renew script
  • docker-compose.yml - compose configuration with letsencrypt volume

How to run

  1. Replace example.com with your domain in entrypoint.sh and nginx.conf
  2. Replace example@gmail.com with your email in entrypoint.sh
  3. docker-compose build
  4. docker-compose up -d

License

This code is MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 43.9%
  • Shell 41.5%
  • HTML 14.6%