Andre Arnold <andre.arnold@...> writes:
Hi,kill -HUP `pidof nginx`http://wiki.codemongers.com/
NginxCommandLine#utnbotfBest regards
2008/8/26 Jarod Belle <jaro...@public.gmane.org>
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
runtime.
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. :)
Oh, my bad english, It seems I need to explain my question more carefully.
In fact, I mean:
There are some sub-conf-file asid from a main-conf-file, when nginx start, it
will load the main-conf-file at first.
When nginx is running, if it gets any requests and matchs a sub-conf-file by
some rules, the main process will load this sub-conf-file to application
runtime.
Anyway, thank you all. :)