directadmin under nginx

dareksbs

Verified User
Joined
May 15, 2014
Messages
40
Hi Guys,

Is there is any way to run directadmin on nginx ?? but fully, with ssl with out apache ??
 
Hello,

Yes, there is, using CustomBuild 2.0:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set webserver nginx
./build set mod_ruid2 no
./build set php1_mode php-fpm
./build nginx
./build php n

Good luck! :)
 
Hello,

Yes, there is, using CustomBuild 2.0:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set webserver nginx
./build set mod_ruid2 no
./build set php1_mode php-fpm
./build nginx
./build php n

Good luck! :)

That is it ? just seven lines ?

btw. is it stable ? can I use it for commercial purpose ? I don't want to have a problem with it everyday. Apache is good, but slow.
 
Yes, just 7 lines :) It runs with no problems on our test boxes, however, we still have it marked as "alpha", because it's a new feature, so we cannot be completely sure about it.
 
And how do we add extra modules?

I found something like this, but where do i use it?

./configure --with-http_spdy_module --with-http_ssl_module --with-http_stub_status_module --with-http_image_filter_module --with-http_gunzip_module --with-google_perftools_module --with-http_geoip_module --with-mail --with-mail_ssl_module
 
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/nginx
cp -p configure/nginx/configure.nginx custom/nginx/configure.nginx

Now edit /usr/local/directadmin/custombuild/custom/nginx/configure.nginx file and add the configuration flags you need. Afterwards just run:
Code:
./build nginx

That's it!
 
Back
Top