changed upstream nginx connection to use http not https