Apache reference in custombuild 2 when using Nginx

rpr

Verified User
Joined
Oct 20, 2010
Messages
65
Hi,

Just installed directadmin on my server and selected nginx as my webserver.
But I still have config files of apache under /etc/httpd/conf

When I looked at my options.conf it had reference to apache:
Code:
#WEB Server Settings
webserver=nginx
modsecurity=no
modsecurity_ruleset=comodo
apache_ver=2.4 --> Why?
apache_mpm=auto --> Why?
mod_ruid2=yes --> Needed in nginx?
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=daserver01
redirect_host_https=no

What should I remove?
 
Last edited:
Hello,

Why do you worry about it? Isn't nginx working and serving your sites?

Whatever or not you use nginx, options.conf will still have all other options including for apache. To be check your current options you may run this:

Code:
cd /usr/local/directadmin/custombuild
./build options

mod_ruid2 is not needed when you use nginx, and it won't be installed.
 
Hello,

Why do you worry about it? Isn't nginx working and serving your sites?

Whatever or not you use nginx, options.conf will still have all other options including for apache. To be check your current options you may run this:

Code:
cd /usr/local/directadmin/custombuild
./build options

mod_ruid2 is not needed when you use nginx, and it won't be installed.

Ok that the config files contains apache items is normal.
But the problem is that I have apache config files on my server which is strange when I select nginx to install.
And I am just a clean freak :/
 
If you don't use apache at all you may remove the directory /etc/httpd/ and see whether or not it breaks anything. It should not, but still....
 
Please use the following command to list the software, which is not actively used on your server, but is installed:
Code:
./build list_removals

To remove just apache:
Code:
./build remove_apache

However, like Alex has already mentioned, there is nothing to worry about, even if you have /etc/httpd directory on your server :)
 
Back
Top