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/05/02 12:37:03 UTC

[GitHub] [apisix] haozileung commented on issue #4942: bug: upstream response http code 302,then we found it was be redirected to an new port 9080

haozileung commented on issue #4942:
URL: https://github.com/apache/apisix/issues/4942#issuecomment-1114798300

   For anyone needs workaround:
   Apply plugin serverless-pre-function to the route config
   Sample code:
   `    "plugins": {
           "serverless-pre-function": {
               "phase": "rewrite",
               "functions": [
                   "return function(conf, ctx) ngx.var.var_x_forwarded_port = 443 end"
               ]
           }
       },`


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