Permalink
Browse files

Probably good idea to not to rebuild web domains if Apache is fronten…

…d web server
  • Loading branch information...
dpeca committed Dec 7, 2017
1 parent d5f78d5 commit f619d61df78fa5a9c7600132d25ea1b07b00a58d
Showing with 4 additions and 4 deletions.
  1. +4 −4 upd/fix_nginx_auth.sh
View
@@ -3,13 +3,13 @@
source /etc/profile.d/vesta.sh
source /usr/local/vesta/conf/vesta.conf
#if [ "$WEB_SYSTEM" != 'nginx' ]; then
# exit
#fi
sed -i "s|web/%domain%/stats/auth.*|conf/web/%domain%.auth|" \
$VESTA/data/templates/web/nginx/*/*tpl >/dev/null 2>&1
if [ "$WEB_SYSTEM" != 'nginx' ]; then
exit
fi
check=`egrep "STATS_USER='([0-9]|[a-Z].*)'" $VESTA/data/users/*/web.conf`
if [ ! -z "$check" ]; then
for user in $(echo $check |cut -f1 -d: |cut -f7 -d/); do

1 comment on commit f619d61

@dpeca

This comment has been minimized.

Show comment
Hide comment
@dpeca

dpeca Dec 7, 2017

Collaborator

I mean backend web server, sorry for misleading title.

Collaborator

dpeca commented on f619d61 Dec 7, 2017

I mean backend web server, sorry for misleading title.

Please sign in to comment.