prevent custombuild modify webapps.conf

microz

Verified User
Joined
Jun 10, 2009
Messages
124
Location
Santiago, Chile
Hi,

Im trying prevent that custombuild modify the changes in /etc/nginx/webapps.conf, but I not found webapps.conf in configure folder to copy to custom folder.

Code:
ls -ls /usr/local/directadmin/custombuild/configure/nginx/conf
total 40
4 -rw-r--r-- 1 root root  881 ene  4  2015 nginx.conf
4 -rw-r--r-- 1 root root 1437 oct 16 19:28 nginx-defaults.conf
4 -rw-r--r-- 1 root root   26 sep 13  2014 nginx-events.conf
4 -rw-r--r-- 1 root root  308 sep 13  2014 nginx-gzip.conf
4 -rw-r--r-- 1 root root  254 sep 13  2014 nginx-info.conf
4 -rw-r--r-- 1 root root  199 feb 28  2015 nginx_limits.conf
4 -rw-r--r-- 1 root root  621 jul  9  2015 nginx-modsecurity.conf
4 -rw-r--r-- 1 root root  605 dic 15 22:49 nginx-userdir.conf
4 -rw-r--r-- 1 root root 1572 dic 15 22:49 nginx-vhosts.conf
4 -rw-r--r-- 1 root root  321 dic 30  2014 webapps_settings.conf

Any suggestion? instead use "chattr +i"

Rgds,
Eduardo
 
Last edited:
Just copy webapps.conf to custom/nginx/conf and that will do the trick :)
 
Back
Top