12 messages in ru.sysoev.nginxRe: Read configuration at runtime
FromSent OnAttachments
Jarod BelleAug 26, 2008 5:57 am 
Almir KaricAug 26, 2008 7:02 am 
Jarod BelleAug 26, 2008 7:23 am 
Andre ArnoldAug 26, 2008 7:32 am 
Almir KaricAug 26, 2008 7:41 am 
Igor ClarkAug 26, 2008 7:44 am 
Jarod BelleAug 26, 2008 8:04 am 
Jarod BelleAug 26, 2008 8:14 am 
Igor SysoevAug 26, 2008 9:32 am 
Chris SaveryAug 26, 2008 10:56 am 
Delta YehAug 26, 2008 7:59 pm 
jaro...@public.gmane.orgAug 26, 2008 9:46 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Read configuration at runtimeActions...
From:Jarod Belle (jaro@public.gmane.org)
Date:Aug 26, 2008 8:04:49 am
List:ru.sysoev.nginx

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. :)