nginx-le
  • Overview
  • Prerequisites
  • Cli commands
    • build
    • config
    • start
    • acquire
    • certificates
    • cli
    • doctor
    • logs
    • renew
    • restart
    • revoke
    • stop
  • docker-compose
  • Certificate management
    • Staging (test) certificates
    • Certificate volume
  • Customise Nginx-le container
  • Diagnosing problems
  • Environment variables
    • Internal Environment Variables
      • Auth Providers
  • Contributing
    • Testing
    • Releasing nginx-le
  • Custom Content Providers
  • Custom docker file
  • Auth Providers
    • HTTP Auth
    • Cloudflare
    • Name cheap
    • Implement an Auth Provider
Powered by GitBook
On this page

Was this helpful?

  1. Certificate management

Certificate volume

Nginx-LE stores certificates on a persistent volume which by convention is called certificates.

The certificates folder is mounted into the container at /etc/letsencrypt/.

It is critical that this is a persistent volume otherwise Nginx-LE will need to acquire a new certificate every time it starts.

nginx-le config will automatically create the volume but if you are using docker-compose or creating your own docker container you must create a persistent volume called certificates.

Lets Encrypt have hard limits (5 per day) on the no. of certificates you can acquire so if you don't have a persistent volume you will very quickly breach this limit.

PreviousStaging (test) certificatesNextCustomise Nginx-le container

Last updated 4 years ago

Was this helpful?