coolIf you have any configuration files in /usr/local/directadmin/custombuild/custom/nginx/, yes.
Maybe this thread and post might be useful to you?
You only have to change the version from 1.9.11 to 1.13.8 and follow the steps mentioned there.
Using this for quite some time now and it works like a charm.
cd /usr/local/directadmin/custombuild/
wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx -O /usr/local/directadmin/custombuild/build_nginx
chmod 755 ./build_nginx
./build_nginx
that...was so darned simple it should be outlawed LOLYou could even use this way to update nginx:
Code:cd /usr/local/directadmin/custombuild/ wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx -O /usr/local/directadmin/custombuild/build_nginx chmod 755 ./build_nginx ./build_nginx
A script to install a mainline version of NGINX with custombuild2. A version number of NGINX mainline is taken from NGINX's trac site.
Usage:
./build_nginx versions - to update information of available mainline version
./build_nginx install - to download and install the latest mainline version
echo "1 2 * * * root /usr/local/directadmin/custombuild/build_nginx cron" >> /etc/cron.d/directadmin_custom
./build nginx
./build update_versions
./build_nginx install