zulip/puppet
Tim Abbott c843276196 nginx: Fix accidental load-balancing between IPv4 and IPv6.
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.
2018-05-22 11:56:59 -07:00
..
apt puppet: Fix puppet-apt bug with modern apt-key. 2018-05-06 21:10:24 -07:00
stdlib Remove some some duplicate words in copy. 2017-01-23 23:15:04 -08:00
zulip nginx: Fix accidental load-balancing between IPv4 and IPv6. 2018-05-22 11:56:59 -07:00
zulip_ops zulip_ops: Disable Ubuntu's built-in update-motd.d files. 2018-05-06 18:47:40 -07:00