Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 764 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 764 Bytes

❤️ Consider using jonasal/nginx-certbot for the HTTP-01 challenge. See here for the benefits and drawbacks of each challenge type.

docker-certbot-nginx-cloudflare

Usage:

  • Forward ports 80 and 443, and route a subdomain to your server.
  • Create cloudflare.ini with your API token. Use chmod 600 cloudflare.ini to fix its permissions.
  • Change example.com in docker-compose.yml and conf.d/default.conf. Also change the email and subdomain, if you want.
  • Run docker-compose up and wait for nginx to start. If it is successful, you can visit your subdomain.