mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
This makes the `localhost.d` directory less of a lie, and decreases
the chances that local reconfigurations will break the 127.0.0.1:80
server which is used for IPC.
In cases where `nginx_http_only` is enabled, we respect
`nginx_listen_port` soas to not attempt to bind on port 80 if the
administrator was explicitly attempting to avoid that.
(cherry picked from commit b4fb22ba1b)