JoniJnm commented on issue #1948:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1948#issuecomment-1702699043

   Temporary fixed with this plugin:
   
   ```yaml
           - name: serverless-pre-function
             enable: true
             config:
               phase: rewrite
               functions:
                 - |
                   return function()
                     if ngx.var.scheme == "http" then
                       ngx.req.set_header("X-FORWARDED-PORT", "80")
                     else
                       ngx.req.set_header("X-FORWARDED-PORT", "443")
                     end
                   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to