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
Attachments:
open |
download -
ngx_runtime_config.patch
(2 KB)