mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Gotta generate security.conf.inc during .deb deployment because it's needed by yunohost_admin.conf
This commit is contained in:
parent
3d0bd9f32c
commit
be8427d5a1
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ do_init_regen() {
|
|||
rm -f "${nginx_dir}/sites-enabled/default"
|
||||
|
||||
export compatibility="intermediate"
|
||||
ynh_render_template "security.conf.inc" "${nginx_conf_dir}/security.conf.inc"
|
||||
ynh_render_template "yunohost_admin.conf" "${nginx_conf_dir}/yunohost_admin.conf"
|
||||
|
||||
# Restart nginx if conf looks good, otherwise display error and exit unhappy
|
||||
|
|
Loading…
Add table
Reference in a new issue