Read configuration at runtime
igor at pokelondon.com
Tue Aug 26 18:45:08 MSD 2008
If you mean in the way Apache reads .htaccess files, then as far as I
understand, there isn't really any support for this in nginx; it reads
its config at startup, and as Andre says, you need to tell it to
reload the config using a signal.
On 26 Aug 2008, at 15:32, Andre Arnold wrote:
> kill -HUP `pidof nginx`
> Best regards
> 2008/8/26 Jarod Belle <jarodbelle at gmail.com>
> Almir Karic <almir at ...> writes:
> > On Tue, Aug 26, 2008 at 12:58:14PM +0000, Jarod Belle wrote:
> > > I want to make nginx to get different configurations dynamically
> at runtime.
> > what is wrong with nginx -c /path/to/configuration/file.conf ?
> Excuse me, What I wanted to know is when nginx have been already
> running, how
> to read any other configurations(such as different user's
> configuration) in the
> I think this need some ngx_http_module hacking, but I need some
> guide, since
> I'm not familiar enough with nginx's internal architecture.
> Thank you for your reply. :)
Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749 5355
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx