diff --git a/certbot-compose.yml b/certbot-compose.yml index 9909bd1..19fe853 100644 --- a/certbot-compose.yml +++ b/certbot-compose.yml @@ -28,7 +28,7 @@ services: entrypoint: "certbot certonly --webroot -w /var/www/certbot \ --staging \ --email ${REACT_APP_ADMIN_EMAIL} \ - -d ${DOMAIN_NAME} -d www.${DOMAIN_NAME} -d api.${DOMAIN_NAME} -d admin.${DOMAIN_NAME}\ + -d ${DOMAIN_NAME} -d www.${DOMAIN_NAME} -d api.${DOMAIN_NAME} -d admin.${DOMAIN_NAME} \ --rsa-key-size $rsa_key_size \ --agree-tos \ --force-renewal" diff --git a/nginx-proxy/cert/vhosts/site.template b/nginx-proxy/cert/vhosts/site.template index 68cfc86..498e1f8 100644 --- a/nginx-proxy/cert/vhosts/site.template +++ b/nginx-proxy/cert/vhosts/site.template @@ -5,6 +5,4 @@ server { location /.well-known/acme-challenge/ { root /var/www/certbot; } - - return 404 } \ No newline at end of file