Welcome! Log In Create A New Profile

Advanced

Re: nginx serving wrong proxy content, static assets not affected

Eduardo Kortright
January 06, 2023 03:52PM
Hi Payam,

I’m not doing any caching. It looks like it is indeed a DNS problem, as the Docker containers are occasionally changing their IP address as the containers are restarted, but as Ángel pointed out, nginx does not resolve the name at each request, but only when it loads the configuration initially. Thank you for your help.


Sounds like you are either having hash collisions or incorrect dns resolution.

- Are you caching? Set a larger key size
- Have you looked at dns and host resolution for the impacted requests?


Payam

_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx serving wrong proxy content, static assets not affected

Eduardo Kortright January 04, 2023 03:34PM

Re: nginx serving wrong proxy content, static assets not affected

unclepieman January 04, 2023 04:38PM

Re: nginx serving wrong proxy content, static assets not affected

Eduardo Kortright January 06, 2023 03:52PM

Re: nginx serving wrong proxy content, static assets not affected

Ángel January 05, 2023 07:36PM

Re: nginx serving wrong proxy content, static assets not affected

Eduardo Kortright January 05, 2023 08:56PM

Re: nginx serving wrong proxy content, static assets not affected

Eduardo Kortright January 06, 2023 03:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready