Topic: [solved] Debian direct admin nginx plugins issue
Hello,
There was a big in debian direct admin nginx plugin . It will be fixed from version 1.1 + . For an immediate fix please do the following,
# wget -c http://download.sysvm.com/nginx/nginx.rc.deb.txt
# mv -vf nginx.rc.deb.txt /etc/init.d/ngnix
# chmod 755 /etc/init.d/ngnix
# chown -R apache.apache /usr/local/nginx
echo " */1 * * * * /usr/local/directadmin/scripts/monitornginxvhost > /dev/null 2>&1 " >> /var/spool/cron/crontabs/root
Noe edit /usr/local/nginx/conf/nginx.conf and change the user from nobody to apache .
Now start nginx /etc/init.d/nginx start
Now rebuild nginx vhost /usr/local/directadmin/scripts/rebuildnginxvhost
This will fix the issues.