Mins / TuxLite

A complete LAMP and LNMP setup script for Debian or Ubuntu

Home Page:http://tuxlite.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adding module to nginx

builtbylane opened this issue · comments

I understand that you have to recompile nginx in order to add a module... Is there away to do this with your script? If I build nginx from source, what do I have to do to ensure that I can still use Tuxlite?

I'm afraid there isn't a feature to auto compile nginx at the moment.

My guess is that self compiling will work just fine if the debianized compile time options (plus the additional modules you require) are used. Also, the /etc/nginx/sites-available/sites-enabled folders must be created and accordingly referenced in nginx.conf.

You can refer to https://gist.github.com/Mins/5355044 for the compile options. For nginx.conf simply use the one provided in the "config" folder.

Remember to add the init script too so that nginx can be started or reloaded.