Nginx changing settings on the fly?
B.R.
reallfqq-nginx at yahoo.fr
Fri Jul 26 22:50:59 UTC 2013
Hi,
On Fri, Jul 26, 2013 at 6:33 PM, YesThatGuy <nginx-forum at nginx.us> wrote:
> B.R. thanks for not answering the question. Perhaps you'd do well to
> RTFM(essage)?
>
No problem, you are welcome...
>
> Should I assume that that only way to set the weight parameter is by
> updating the config file and reloading the config?
>
If you RTFM and got interested in Nginx design and the way it deals with
its configuration, you would have known that a master process loads the
configuration and spawns workers which only job is to deal with requests.
So... Changing configuration would mean signaling the master process in
some way...
You could write configuration in a conf.d directory where Nginx loads
*.conf files with a script and then automatically behind signal Nginx to
reload the conf with the same script.
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,241311,241313#msg-241313
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
I am deeply sorry to have provided you with a RTFM answer that outraged you.
Please accept my apologies and rest assured that won't occur anymore.
Sometimes silence is golden.
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130726/a9d3f132/attachment.html>
More information about the nginx
mailing list