wenhuwang commented on issue #1444:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1444#issuecomment-1309911429

   > > Can you explain more clearly what are dynamic complex scenarios?
   > > If you want to be very flexible and include logic, maybe a serverless 
plugin would be a good choice
   > 
   > For example, Ingress-nginx supports to inject a piece of nginx 
configuration, as follows:
   > 
   > ```
   > kind: Ingress
   > apiVersion: networking.k8s.io/v1
   > metadata:
   >   name: test-ingress
   >   namespace: demo
   >   labels:
   >     app: test-ingress
   >   annotations:
   >     nginx.ingress.kubernetes.io/configuration-snippet: >
   >       set $prefix "";
   >       if ($http_referer ~* http?://([0-9a-z-]*)(.+)) { set $prefix $1; }
   >       proxy_set_header header01 $prefix;
   > spec:
   >   ingressClassName: nginx
   >   rules:
   >     - host: test.ft.com
   >       http:
   >         paths:
   >           - path: /
   >             pathType: ImplementationSpecific
   >             backend:
   >               service:
   >                 name: servicea
   >                 port:
   >                   number: 8080
   > ```
   > 
   > Is it possible to achieve a similar effect with apisix-ingress?
   
   Taking the above scenario as an example, do you recommend going through the 
serverless plugin or apisix-go-plugin-runner?
   
   ask for advice!!!


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