Properly use x-forwarded-proto with redirects in the webui, related to #347

This commit is contained in:
kaiyou
2017-12-04 21:16:08 +01:00
parent 48d736feef
commit a4f46ced49
4 changed files with 13 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ if args["TLS"] and not all(os.path.exists(file_path) for file_path in args["TLS"
# Build final configuration paths
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"):
os.system("nginx -s reload")