aura-web: can't disable certbot
I ran aura-web using https and certbot before and needed to switch-back to http. So I commented out the relevant lines in the .env file - which are the default values:
# Change to your custom domain name
AURA_HOST_NAME=aura.fro.at
# Set to http if you don't want to use TLS
# AURA_HOST_PROTO=http
# Disable if you want to handle ssl yourself (e.g if you are deploying behind a reverse proxy)
# AURA_HOST_CERTBOT_ENABLE=false
Since these changes had no effect, I removed all volumes at first - without success. So I hoped that docker system prune -a
will fix the problem - but nginx started certbot again.
The only workaround was to either comment out the relevant lines in config/services/nginx/run.sh
or to override the relevant line in config/aura-web/docker-compose.yml
.
nginx-1 | 2024-03-18T18:52:50.710415965Z generated nginx-config
nginx-1 | 2024-03-18T18:52:50.710446943Z Running Certbot
nginx-1 | 2024-03-18T18:52:50.921482399Z Saving debug log to /var/log/letsencrypt/letsencrypt.log
nginx-1 | 2024-03-18T18:52:51.992607388Z Unable to register an account with ACME server. The ACME server believes admin@example.com is an invalid email address. Please ensure it is a valid email and attempt registration again.
nginx-1 | 2024-03-18T18:52:51.992632295Z Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Edited by Chris Pastl