1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-23 00:28:06 +02:00

Support TLS and STARTTLS for mail

This commit is contained in:
kaiyou
2017-09-24 18:43:14 +02:00
parent 4892fe47e6
commit ba4ed579df
3 changed files with 45 additions and 10 deletions

View File

@ -23,5 +23,6 @@ if args["TLS"] and not all(os.path.exists(file_path) for file_path in args["TLS"
args["TLS_ERROR"] = "yes"
convert("/conf/tls.conf", "/etc/nginx/tls.conf", args)
convert("/conf/nginx.conf", "/etc/nginx/nginx.conf", args)
os.system("nginx -s reload")