You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Quinlan-Z (via GitHub)" <gi...@apache.org> on 2023/04/11 07:19:31 UTC

[GitHub] [apisix-ingress-controller] Quinlan-Z commented on issue #1781: request help: How to configure adding headers based on separated traffic?

Quinlan-Z commented on issue #1781:
URL: https://github.com/apache/apisix-ingress-controller/issues/1781#issuecomment-1502802186

   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: httpbin-route
   spec:
     http:
     - name: rule4
       match:
         hosts:
         - nginx.testapisix.com
         paths:
         - /*
       backends:
        - serviceName: nginx-srv
          servicePort: 80
          weight: 10
          proxy_set_header: (need to add a header here, how to achieve it?)
        - serviceName: nginx-srv1
          servicePort: 80
          weight: 90


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