Otherwise, depending on host config, nginx futilely tries ::1 first.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
return
stop_nginx()
nginxconf = {}
- nginxconf['UPSTREAMHOST'] = 'localhost'
- nginxconf['LISTENHOST'] = 'localhost'
+ nginxconf['UPSTREAMHOST'] = '127.0.0.1'
+ nginxconf['LISTENHOST'] = '127.0.0.1'
nginxconf['CONTROLLERPORT'] = internal_port_from_config("Controller")
nginxconf['ARVADOS_API_HOST'] = "0.0.0.0:" + str(external_port_from_config("Controller"))
nginxconf['CONTROLLERSSLPORT'] = external_port_from_config("Controller")