Fix tmp nginx conf path

This commit is contained in:
mycognosist 2020-12-04 09:31:27 +00:00
parent 77a2286828
commit 8206b4d8d8
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ if args.initialize:
nginx_conf_tmp_path = os.path.join(USER_PATH, "apt.peachcloud.org")
render_template(
src="debian_repo/nginx_debian.conf",
dest="/etc/nginx/sites-enabled/apt.peachcloud.org",
dest=nginx_conf_tmp_path,
template_vars = {
"apt_dir": FREIGHT_CACHE
}