If you want to have the latest version of NGINX installed on your server with Directadmin here is what you can do about it.
We at Poralix prepared a script which you can use for it:
build_nginx - A script (the first edition) to install a mainline version of NGINX with custombuild2. A version number of NGINX mainline is taken from NGINX's trac site, i.e. it's always the latest.
Here is a quick way to install it:
cd /usr/local/directadmin/custombuild/ wget -O build_nginx https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx chmod 755 ./build_nginx ./build_nginx
It's even possible to run the script with a cron, on daily bases for example. Run this code to install a task into crontab:
echo "1 2 * * * root /usr/local/directadmin/custombuild/build_nginx cron" >> /etc/cron.d/directadmin_custom
if you want to update a version every day. It won't upgrade NGINX, but only update information about its version and download a tar.gz file when a new version is available.
As soon as a new version of NGINX comes out and its binary is downloaded you can use custombuild native script as usual to install/update NGINX.
or stick to the custom script.