Commit 1e60368f authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix update_nginx.sh:

parent 824db7f3
......@@ -107,9 +107,9 @@ UPSTREAMNAME="upstream-$ACONF"
UPSTREAM="http://$UPSTREAMNAME"
VEPORT=$(printf "%03d" $(($VEID-100)))
ECODE=$((430+$VEID-100))
echo "VEPORT: $VEPORT ECODE: $ECODE"
echo "VEPORT: $VEPORT ECODE: $ECODE, config: $NGINXSUBDIR/$NAME.conf"
print_nginx_conf >$NGINXSUBDIR/$NAME.conf
if [ "$NGINX_disable_static_stub" ] ; then
if [ -n "$NGINX_disable_static_stub" ] ; then
sed -i -e "s|\(.*static-stub.*\)|#\1|" $NGINXSUBDIR/$NAME.conf
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment