mirror of https://github.com/zulip/zulip.git
c843276196
Apparently, our nginx configuration's use of "localhost", combined with the default in modern Linux of having localhost resolve to both the IPv4 and IPv6 addresses on a given machine, resulted in `nginx` load-balancing requests to a given Zulip server between the IPv4 and IPv6 addresses. This, in turn, resulted in irrelevant 502 errors problems every few minutes on the /events endpoints for some clients. Disabling IPv6 on the server resolved the problem, as does simply spelling localhost as 127.0.0.1 for the `nginx` upstreams that we declare for proxying to non-Django services on localhost. |
||
---|---|---|
.. | ||
apt | ||
stdlib | ||
zulip | ||
zulip_ops |