gigi206 commented on issue #2033:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2033#issuecomment-1793575065

   If I configure that it works because it forces the upstream to https:
   ```yaml
   apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: argo-cd-argocd-server
     namespace: argo-cd
   spec:
     scheme: https
   ```
   
   ```shell
   curl -IL http://argocd.gigix -k
   HTTP/1.1 301 Moved Permanently
   Date: Sat, 04 Nov 2023 22:58:57 GMT
   Content-Type: text/html
   Content-Length: 241
   Connection: keep-alive
   Location: https://argocd.gigix/
   Server: APISIX/3.6.0
   
   HTTP/2 200 
   content-type: text/html; charset=utf-8
   content-length: 788
   accept-ranges: bytes
   content-security-policy: frame-ancestors 'self';
   vary: Accept-Encoding
   x-frame-options: sameorigin
   x-xss-protection: 1
   date: Sat, 04 Nov 2023 22:58:57 GMT
   server: APISIX/3.6.0
   ```


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