You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/13 01:17:29 UTC

[GitHub] [apisix-ingress-controller] tokers commented on issue #1084: request help: http to https redirect

tokers commented on issue #1084:
URL: https://github.com/apache/apisix-ingress-controller/issues/1084#issuecomment-1153354946

   @haohello What's your ApisixRoute definition for the HTTPS version? Then route object you shown above has the check for scheme so that only requests which protocol is HTTP can match it, after you redirect the request, two questions come in:
   
   1. You don't have a certificate which CN or SANs match the domain `code.devtaoism.com`;
   2. You don't have a route to match this request, so APISIX just returns `404`;
   
   What you need to do are:
   
   1. configuring the SSL object for APISIX with the correct certificate and private key;
   2. configuring a new Route match rule to accept requests even its protocol is HTTPS;


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org