diff --git a/core/nginx/config.py b/core/nginx/config.py index bd6967b9..d9cfe6a5 100755 --- a/core/nginx/config.py +++ b/core/nginx/config.py @@ -36,6 +36,8 @@ args["TLS"] = { def format_for_nginx(fullchain, output): """ We may want to strip ISRG Root X1 out """ + if not os.path.exists(fullchain): + return certs = [] with open(fullchain, 'r') as pem: cert = ''