You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
Use a predefined dhparam.pem, This fixes issue #322
This commit is contained in:
@@ -7,10 +7,6 @@ import subprocess
|
||||
if os.path.exists("/var/log/nginx.pid"):
|
||||
os.remove("/var/log/nginx.pid")
|
||||
|
||||
# Actual startup script
|
||||
if not os.path.exists("/certs/dhparam.pem") and os.environ["TLS_FLAVOR"] != "notls":
|
||||
os.system("openssl dhparam -out /certs/dhparam.pem 4096")
|
||||
|
||||
if os.environ["TLS_FLAVOR"] == "letsencrypt":
|
||||
subprocess.Popen(["/letsencrypt.py"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user