[Patch] add -p option to override prefix
manlio_perillo at libero.it
Wed Mar 25 22:32:31 MSK 2009
Jérôme Loyet ha scritto:
> I attach a patch which add the -p option to nginx. This option
> overrides the --prefix path and also the $NGX_CONF_PREFIX variable
> which is used as prefix for "include" directives. So, all relative
> path will be prefix with the value of this option.
> I don't know if it covers all cases but it seems ok in my env.
I wrote a similar patch one year ago, I have attached it.
It is based on old nginx 0.5.x
It is used in production on http://unbit.it/, and Italian hosting
company, where a few accounts use nginx + mod_wsgi as application server.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2018 bytes
Desc: not available
More information about the nginx