Welcome! Log In Create A New Profile

Advanced

Re: Nginx changing settings on the fly?

B.R.
July 26, 2013 06:52PM
Hi,

On Fri, Jul 26, 2013 at 6:33 PM, YesThatGuy <nginx-forum@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@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.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx changing settings on the fly?

YesThatGuy July 26, 2013 05:18PM

Re: Nginx changing settings on the fly?

B.R. July 26, 2013 05:56PM

Re: Nginx changing settings on the fly?

YesThatGuy July 26, 2013 06:33PM

Re: Nginx changing settings on the fly?

B.R. July 26, 2013 06:52PM

Re: Nginx changing settings on the fly?

YesThatGuy July 26, 2013 08:26PM

Re: Nginx changing settings on the fly?

Jonathan Matthews July 27, 2013 04:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready