kellyseeme commented on issue #8483:
URL: https://github.com/apache/apisix/issues/8483#issuecomment-1342185045

   if i change the routes name,then the https is not affected,error log is :
   [error] 19072#19072: *7957 [lua] init.lua:540: http_access_phase(): failed 
to set upstream: missing upstream configuration in Route or Service, client
   curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f134336f236f87ad84b625c9f1' -X PUT -d '{
   "uri": "/*",
   "plugins": {
   "redirect": {
   "http_to_https": true
   }
   }
   }'
   
   curl http://127.0.0.1:9180/apisix/admin/routes/httptohttps -H 'X-API-KEY: 
edd1c9f134336f236f87ad84b625c9f1' -X PUT -d '{
   "uri": "/",
   "name": "back",
   "upstream_id": "mybackend",
   "status": 1,
   "host": ".backend.com"
   
   }'


-- 
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]

Reply via email to