diff --git a/core/nginx/letsencrypt.py b/core/nginx/letsencrypt.py index b87b2fea..9f445470 100755 --- a/core/nginx/letsencrypt.py +++ b/core/nginx/letsencrypt.py @@ -4,11 +4,7 @@ import os import time import subprocess -hostnames = list(set(os.environ['HOSTNAMES'].split(','))) -for hostname in hostnames: - if not hostname.startswith('autoconfig.'): - hostnames.append(f'autoconfig.{hostname}') -hostnames = ','.join(set(hostnames)) +hostnames = ','.join(set(os.environ['HOSTNAMES'].split(','))) command = [ "certbot",