include_shell

Piotr Karbowski jabberuser at gmail.com
Sun Aug 21 22:37:36 UTC 2011


On 21.08.2011 21:16, Alistair Prestidge wrote:
> Hi
>
> I am pretty new to nginx I have been searching around to find if there is
> a similar option like include_shell that lighttpd has
> to use shell scripts to auto generate conf files.
>
> It appears that there is no such option, I have searched the mailing lists
> and documentation. Is there a reason this has not been
> implemented? are there any feature plans to implement this?

If you really need such feature I bet you can cover it with small shell 
script along with a function to re-generate config before you start or 
reload nginx.

I am curious about your usecase, where you may need such thing?

-- Piotr.



More information about the nginx mailing list