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

   Due it's the same problem with http and is more easy to replicate, I paste 
the config without tls.
   
   Just the header `FORWARDED_HOST` with http is `9080` with apisix and 80 with 
ingress.
   
   ```yaml
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: my-apisix
   spec:
     http:
       - name: my-api
         match:
           hosts:
             - my.host
           paths:
             - /*
         backends:
           - serviceName: my-service
             servicePort: 80
   ```
   
   ```yaml
   apiVersion: networking.k8s.io/v1
   kind: Ingress
   metadata:
     name: my-ingress
   spec:
     rules:
       - host: my.host
         http:
           paths:
             - path: /
               pathType: Prefix
               backend:
                 service:
                   name: my-service
                   port:
                     number: 80
   ```


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