Closed builtbylane closed 6 years ago
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.
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?