Source

ng-httpd /

Filename Size Date modified Message
conf
plugin
225 B
1.0 KB
1.2 KB
112 B
57 B
1.9 KB
1.8 KB
4.3 KB
141 B
9.7 KB

Nginx frontend for DirectAdmin

This solution allows you to set up Nginx in front of Apache for all your DirectAdmin-driven virtual hosts. Any domain change made in DA panel will be automatically reflected* on Nginx vhost list.

* ng-httpd control script operates once a minute via crontab, so note on slight delay in changes propagation

Requirements

Installation

Simply run as root:

hg clone https://bitbucket.org/alexeyworld/ng-httpd
cd ng-httpd && ./install.sh

Management

You could easily on/off Nginx frontend in DA web interface your-domain:2222/CMD_PLUGIN_MANAGER using install/uninstall buttons.

There is no necessity to interact with control script normally. But if you really need, you could =) Call /usr/local/nginx/sbin/ng-httpd.sh with no arguments to get usage notes.

License

Released under the MIT license