Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


DirectAdmin with Nginx
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

DirectAdmin with Nginx

patpat Member
edited July 2013 in General

Using Nginx for the websites I host is key. I'd like to use DirectAdmin because (1) I have a free (datacenter) license and (2) there's quite a big convenience factor.

I'm curious if someone has a module or tutorial that implements a nginx proxy. Php-fpm would also be nice. http://danginx.com/ seems to work, but I'm wondering if something similar could be done for free.

Comments

  • marcmmarcm Member

    Just use cPanel + nginxcp ... it's free (nginxcp that is) and works great. You don't really need or want php-fpm. It works, but it's by no means that great. I prefer Apache + FastCGI + Nginx in front of it so that I can run anything from 4.4 all the way up to PHP 5.5 for development purposes. Then again I have about 16 VPS servers for various purposes, and most of them run CentOS 6 with packages that I maintain: http://repo.phoenixrpm.com

    PS: My eyes hurt when I think about DirectAdmin and ISPConfig, and I get a headache on top of that. But if you want a free panel that works directly with Nginx then get ISPConfig. Enjoy the awkward Nginx config files with that one as well :P

  • upfreakupfreak Member
    edited July 2013

    There is a custombuild for nginx as per http://forum.directadmin.com/showthread.php?t=43785

    Also there is a nginxda plugin ( free) but i am not sure it is updated and works in the latest DA build. (https://code.google.com/p/nginxda/)

  • patpat Member

    @peppr said:
    Also there is a nginxda plugin ( free) but i am not sure it is updated and works in the latest DA build.

    Are you talking about http://www.nginxplugin.com/ ? Seems outdated.

  • @pat said:
    Are you talking about http://www.nginxplugin.com/ ? Seems outdated.

    Updated my post to include link for the project.

  • patpat Member
    edited July 2013

    @peppr said:

    Unfortunately that won't wok because I have an OpenVZ VPS:

    "only supports physical servers, and Xen virtualization VPS , does not support the open vz virtualization VPS"

    @marcm Perhaps I will just save my time and purchase cPanel for $10/month. Thoughts? I currently have a VPS with 1gb of guaranteed ram, up to 2gb burstable ram, and 3 cpu at 3.4GHz.

  • the custom build route works though. However what you get is nginx replacing apache, and not as a reverse proxy.

  • patpat Member
    edited July 2013

    @peppr said:
    the custom build route works though. However what you get is nginx replacing apache, and not as a reverse proxy.

    Yeah, not sure if I'd like that.

  • @marcm Dedicated IP working correctly on your cPanel server with nginxcp?

  • vnetvnet Member

    DirectAdmin installation script automatically upgrade nginx front

    One, iCodex's Blog Script

    First, we look at from the iCodex's Blog script is limited to CentOS system installation, tested normal. Installation process:

    wget http://icodex.org/dl/directadmin/install.sh

    chmod 755 install.sh

    . / install.sh

    You can also use nginx Cho Yong modified version 1.3 installation script:

    wget http://www.zrblog.net/sh/da/nginxinstall.sh

    chmod 755 nginxinstall.sh

    . / nginxinstall.sh

    To uninstall:

    wget http://icodex.org/dl/directadmin/uninstall.sh
    chmod 755 uninstall.sh
    . / uninstall.sh

    Original author address: http://icodex.org/2010/05/directadmin-nginx-automated-installer/

    The authors used only install a new DA, Cho Yong also tried to open an existing installation on the host Build, yet unusual, but my friends still need to pay attention when using.

    Two, SHY9000 script

    SHY9000 script here we share one of his key package, this package includes a key to install nginx front-end, a key site uploaded installation, Capri skin, etc., very convenient. The same applies to scripts CentOS system, the installation method is also very simple.

    wget http://easyinstall.googlecode.com/files/onekey.sh
    sh onekey.sh

    This script also automatically updates both the DA PHP is 5.3, MYSQL 5.5, as well as automatically installed ZEND Guard, very convenient.

    Original author blog: http://loger.me/

    Personally feel, to the DA install nginx front end still has some benefits, more efficient handling of static pages, apache pressure will be reduced.

  • marcmmarcm Member

    @CentrioHost if you don't forget to list your IPs for mod_rpaf it will ;-)

  • patpat Member

    @vnet Thanks much for your detailed response, I appreciate it. If you PM me your paypal ID I will gladly send you a few coffees :-)

    In general, how many concurrent connections must there be for nginx to have a very clear advantage over apache? The sites get traffic, but not THAT much traffic.

  • vnetvnet Member

    @pat said:
    vnet Thanks much for your detailed response, I appreciate it. If you PM me your paypal ID I will gladly send you a few coffees :-)

    In general, how many concurrent connections must there be for nginx to have a very clear advantage over apache? The sites get traffic, but not THAT much traffic.

    TK!We learn from each other!

Sign In or Register to comment.