Solved Problem switch webserver from apache to nginx_apache

hosterbyte

Verified User
Joined
Jul 25, 2019
Messages
12
I tried changing the webserver from apache to nginx_apache with the command below

cd /usr/local/directadmin/custombuild
./build set webserver nginx_apache
./build nginx_apache
./build rewrite_confs

but I get an error like the following

configuring additional modules
adding module in ../modsecurity-nginx-v1.0.3
./configure: error: no ../modsecurity-nginx-v1.0.3/config was found

*** There was an error while trying to configure Nginx. Check the file
2024/05/23 09:30:47 info executing task task=action=notify&message=CustomBuild+installation+has+failed%2C+please+check+the+following+file+for+more+information%3A%0A%2Fvar%2Flog%2Fdirectadmin%2Fcustombuild.1716431377.1079028.YWxsAA.log&subject=CustomBuild+installation+has+failed&value=admin
2024/05/23 09:30:47 info finished task duration=50.754135ms task=action=notify&message=CustomBuild+installation+has+failed%2C+please+check+the+following+file+for+more+information%3A%0A%2Fvar%2Flog%2Fdirectadmin%2Fcustombuild.1716431377.1079028.YWxsAA.log&subject=CustomBuild+installation+has+failed&value=admin


can anyone help?
 
case close after openticket

The problem was that ModSecurty should be enabled there too using this commands:

da build set modsecurity yes
da build set modsecureity_rules owasp
da build modsecurity

After that I successfully build Nginx-Apache.

thank's everyone.
 
Last edited:
Back
Top