|
|
@ -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/tls.conf", "/etc/nginx/tls.conf", args)
|
|
|
|
convert("/conf/proxy.conf", "/etc/nginx/proxy.conf", args)
|
|
|
|
convert("/conf/proxy.conf", "/etc/nginx/proxy.conf", args)
|
|
|
|
convert("/conf/nginx.conf", "/etc/nginx/nginx.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")
|
|
|
|
os.system("nginx -s reload")
|
|
|
|