mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
sni_forward: fix regex conf, forgot to create the pending dir
This commit is contained in:
parent
4fd41688c0
commit
5c7518bf33
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ do_pre_regen() {
|
|||
export sni_forward_list="$(yunohost settings get 'misc.sni_forward.sni_forward_list')"
|
||||
|
||||
local sni_module="${pending_dir}/etc/nginx/modules-enabled/sni_forward.conf"
|
||||
mkdir -p "${pending_dir}/etc/nginx/modules-enabled/"
|
||||
|
||||
if [[ "$sni_forward_enabled" == "True" ]]
|
||||
then
|
||||
ynh_render_template "sni_forward.conf" "${sni_module}"
|
||||
|
|
Loading…
Add table
Reference in a new issue