Initial commit
TODO: change api.conf URL references to use environment variables and add these variables to the docker-compose configuration for host domain
This commit is contained in:
9
nginx/conf/certmgmt.txt
Normal file
9
nginx/conf/certmgmt.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
# DRY RUN - ensure certificates CAN be created
|
||||
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d example.org
|
||||
|
||||
# PROD RUN - generate certificates for the provided site
|
||||
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d example.org
|
||||
|
||||
|
||||
# RENEW CERTIFICATES - run every 3 months
|
||||
docker compose run --rm certbot renew
|
||||
Reference in New Issue
Block a user