docs: update certbot/README.md (#7528)

This commit is contained in:
Ikko Eltociear Ashimine 2024-08-22 14:36:15 +09:00 committed by GitHub
parent 60ef7ba855
commit fef4e09dfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ Use `docker-compose --profile certbot up` to use this features.
CERTBOT_DOMAIN=your_domain.com CERTBOT_DOMAIN=your_domain.com
CERTBOT_EMAIL=example@your_domain.com CERTBOT_EMAIL=example@your_domain.com
``` ```
excecute command: execute command:
```shell ```shell
sudo docker network prune sudo docker network prune
sudo docker-compose --profile certbot up --force-recreate -d sudo docker-compose --profile certbot up --force-recreate -d
@ -30,7 +30,7 @@ Use `docker-compose --profile certbot up` to use this features.
```properties ```properties
NGINX_HTTPS_ENABLED=true NGINX_HTTPS_ENABLED=true
``` ```
excecute command: execute command:
```shell ```shell
sudo docker-compose --profile certbot up -d --no-deps --force-recreate nginx sudo docker-compose --profile certbot up -d --no-deps --force-recreate nginx
``` ```
@ -73,4 +73,4 @@ To use cert files dir `nginx/ssl` as before, simply launch containers WITHOUT `-
```shell ```shell
sudo docker-compose up -d sudo docker-compose up -d
``` ```