mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
enable symlinks in user home
This commit is contained in:
parent
479c9c5a78
commit
d2f78faa67
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ if [ -e "$TPL/nginx" ]; then
|
||||||
for tpl in $(ls $TPL/nginx |grep -v proxy_ip.tpl); do
|
for tpl in $(ls $TPL/nginx |grep -v proxy_ip.tpl); do
|
||||||
check_symlink=$(grep disable_symlinks $TPL/nginx/$tpl)
|
check_symlink=$(grep disable_symlinks $TPL/nginx/$tpl)
|
||||||
if [ -z "$check_symlink" ]; then
|
if [ -z "$check_symlink" ]; then
|
||||||
insert='disable_symlinks if_not_owner from=%docroot%;'
|
insert='disable_symlinks if_not_owner from=%home%\/%user%;'
|
||||||
sed -i "s/include %/$insert\n\n include %/" $TPL/nginx/$tpl
|
sed -i "s/include %/$insert\n\n include %/" $TPL/nginx/$tpl
|
||||||
triggered='yes'
|
triggered='yes'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue