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. Cli commands

start

Starting Nginx-LE

If you are using the Nginx-LE cli tools then before starting Nginx-LE you must first run nginx-le config.

If you are not using the Nginx-LE cli tools then follow the standard docker, docker-compose processes.

To start the Nginx-LE container run:

nginx-le start

However you start Nginx-LE, when you first start the Nginx-LE container it won't have a certificate.

If you have set AUTO_ACQUIRE=true then Nginx-Le will automatically acquire a certificate.

If you have set AUTO_ACQUIRE=false then when Nginx-LE detects that it doesn't have a valid certificate it will enter certificate acquisition mode.

In this mode it will display a default 'Certificate Acquisition Required' home page with instructions on obtaining a certificate.

You then need to run the nginx-le acquire command.

PreviousconfigNextacquire

Last updated 4 years ago

Was this helpful?