16552: Nginx listens on all interfaces, not just loopback.
[arvados.git] / lib / boot / nginx.go
index 48d3bba474d2abc8566d5632cc1e79ceda807a6f..8a29823a12a411298aadc15009c7ae75b2ac08fe 100644 (file)
@@ -33,7 +33,8 @@ func (runNginx) Run(ctx context.Context, fail func(error), super *Supervisor) er
                return err
        }
        vars := map[string]string{
-               "LISTENHOST":       super.ListenHost,
+               "LISTENHOST":       "0.0.0.0",
+               "UPSTREAMHOST":     super.ListenHost,
                "SSLCERT":          filepath.Join(super.tempdir, "server.crt"),
                "SSLKEY":           filepath.Join(super.tempdir, "server.key"),
                "ACCESSLOG":        filepath.Join(super.tempdir, "nginx_access.log"),