Skip to content

malakhovks/nginx-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

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 [email protected] 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