Welcome! Log In Create A New Profile

Advanced

Re: include_shell

Brane F. Gračnar
August 23, 2011 10:58AM
On Tuesday 23 of August 2011 16:32:29 Alistair Prestidge wrote:
> include_shell
> /var/www/site.com/site-nginx.confhttp://site.com/site-nginx.conf

nginx.conf:

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

include_shell

Alistair Prestidge August 21, 2011 03:18PM

Re: include_shell

Ensiferous August 21, 2011 06:02PM

Re: include_shell

Piotr Karbowski August 21, 2011 06:40PM

Re: include_shell

Alistair Prestidge August 23, 2011 10:34AM

Re: include_shell

Brane F. Gračnar August 23, 2011 10:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready