Browse Source

Redirect nginx -t errors

old-stable
Mitesh Shah 11 years ago
parent
commit
7f07cae735
  1. 2
      usr/local/sbin/easyengine

2
usr/local/sbin/easyengine

@ -846,7 +846,7 @@ EESITEINFO()
NGINXBUCKETSIZE()
{
nginx -t 2>&1 | grep server_names_hash_bucket_size
nginx -t 2>&1 | grep server_names_hash_bucket_size &>> $INSTALLLOG
if [ $? -eq 0 ]
then
NGINXCALCULATION=$(echo "l($(ls /etc/nginx/sites-enabled/ | wc -c))/l(2)+2" | bc -l)

Loading…
Cancel
Save