Disable caching the names in /etc/hosts in reverse proxy?
reallfqq-nginx at yahoo.fr
Mon Apr 20 17:09:45 UTC 2015
There is no 'cache' per se, but rather remembered DNS results, much like
you do when you deal with domain names to avoid putting to high a burden on
nginx resolves names on start or reload.
The commercial version added a feature to update names periodically (resolve
option of the server directive in the upstream module
However, FOSS nginx is stuck with 'static' names resolution.
The commercial version is said to be full-featured, having new features the
FOSS version does not have and does not need... questionable when you see
such 'degraded' features in FOSS, which the commercial version handles the
right way. Political/Economical choices I suppose.
On Sun, Apr 19, 2015 at 2:05 AM, xuhdev <nginx-forum at nginx.us> wrote:
> I'm using Nginx to act as a reverse proxy, where the backend is a name
> defined in /etc/hosts. However, Nginx does not react to the changes made in
> /etc/hosts until restarted. Is it possible to disable caching the names in
> /etc/hosts in reverse proxy?
> Posted at Nginx Forum:
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx