[#63072198] Provide for proper upstream redirects when ssl is enabled