Skip to content

Commit d2f78fa

Browse files
committed
enable symlinks in user home
1 parent 479c9c5 commit d2f78fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upd/convert-templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ if [ -e "$TPL/nginx" ]; then
121121
for tpl in $(ls $TPL/nginx |grep -v proxy_ip.tpl); do
122122
check_symlink=$(grep disable_symlinks $TPL/nginx/$tpl)
123123
if [ -z "$check_symlink" ]; then
124-
insert='disable_symlinks if_not_owner from=%docroot%;'
124+
insert='disable_symlinks if_not_owner from=%home%\/%user%;'
125125
sed -i "s/include %/$insert\n\n include %/" $TPL/nginx/$tpl
126126
triggered='yes'
127127
fi

0 commit comments

Comments
 (0)