Revolyssup commented on issue #2033: URL: https://github.com/apache/apisix-ingress-controller/issues/2033#issuecomment-1874873986
@gigi206 About the original issue, here is the explanation. http-to-https doesn't create a upstream with scheme as https. It just means that the request will be redirected to https when received on http. It is still listening for http requests and then rewriting them as https. As you can see in the log you got the 301 moved permanently with Location header to new location. You have to create an upstream with https scheme separately that can receive https requests. That is why when you configured upstream with https scheme, everything worked. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
