Brane F. Gračnar brane.gracnar at
Tue Aug 23 14:57:15 UTC 2011

On Tuesday 23 of August 2011 16:32:29 Alistair Prestidge wrote:
> include_shell
> /var/www/<>


include "/path/to/special_generated.conf"

Then you can generate mentioned file using a script followed by nginx reload. 
If you don't want to include it, just purge it using:

echo > "/path/to/special_generated.conf"

You can also use glob pattern, for example:
include "/path/to/special/*.conf"

Regards, Brane

More information about the nginx mailing list