[Patch] add -p option to override prefix

Manlio Perillo manlio_perillo at libero.it
Wed Mar 25 22:32:31 MSK 2009


Jérôme Loyet ha scritto:
> hi,
> 
> 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.

 > [...]


Regards  Manlio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_runtime_config.patch
Type: text/x-diff
Size: 2018 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090325/4db5b485/attachment.patch>


More information about the nginx mailing list