1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Update config.py

replace /var/log/nginx.pid with /var/run/nginx.pid to ensure consistency with core/nginx/conf/nginx.conf
This commit is contained in:
ofthesun9 2018-06-02 07:03:16 +02:00 committed by GitHub
parent 1371ba5f5e
commit c6095cd72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,5 +42,5 @@ if args["TLS"] and not all(os.path.exists(file_path) for file_path in args["TLS"
convert("/conf/tls.conf", "/etc/nginx/tls.conf", args)
convert("/conf/proxy.conf", "/etc/nginx/proxy.conf", args)
convert("/conf/nginx.conf", "/etc/nginx/nginx.conf", args)
if os.path.exists("/var/log/nginx.pid"):
if os.path.exists("/var/run/nginx.pid"):
os.system("nginx -s reload")