And enable ssl certificate (certbot) based Docker built environment LNMP

This article is no longer updated, there may be instances of outdated content, real-time updates, visit the original address: and enable ssl certificate (certbot) based Docker build LNMP environment ;

Construction of docker-compose.ymla key LNMP deployment environment.

As follows:

1.clone project

git clone https://github.com/aitlp/dnmp-pure.git

2. Start

docker-compose up -d

3. Stop Nginx

docker container stop nginx

4. Application for certificate

./init-letsencrypt.sh

All done!

Guess you like

Origin www.cnblogs.com/cobcmw/p/12661450.html