CustomBuild Nginx edition

I wrote a "total" conversion for DA to ditch Apache and make it work with Nginx and PHP5-FPM. I did this because of one customer who simply refused to get rid of DirectAdmin, because he wanted to be able to control all aspects of his machine without having to rely on a system administrator.

Wow Skaag thanks for sharing all this information with us, what you have done so far and what you plan is really impressive.

I think Nginx is a good compliment to DA and it will be good to see how all this develops in the near future.

Smtalk thanks for adding this to custombuild!
 
Hello
Can I use this nginx as proxy server such as danginx?
If yes,how to do?
 
CB2 offers either apache or nginx as a web-server. They could do not be used simultaneously at least for now from a box.
 
Rewrite rule ?

Hi , i set up e test box to figure out how i can use nginx for better performance for my clients , something i am stucked with is when i convert the rewrite rule for nginx and then put the rule in the :
/usr/local/directadmin/data/users/admin/nginx.conf
(i added my test domain in admin profile )
and after i restart nginx it doesn't follow the rule and i have 404 error page.
so here is my question , if i want to move from apache to nginx (and not using apache and nginx together) how should i handle htaccess rules ? i mean where to put the rules
it would be great if you gimme and idea
thanks in advance
(i installed nginx,PHPFPM55 with CB2 , i am using DA 1.43,first page of the website runs ok but the other pages need to follow from the rules which lead me to 404 error page by the time i am posting in this thread, my test script is sharetronix 1.5 and if i made this step , i am going to test 2.2)
 
Soloution

the solution was easy
the file path to add rewrite was correct but the way i put the rules was wrong
so it is handled
 
Back
Top