wenhuwang opened a new issue, #1444:
URL: https://github.com/apache/apisix-ingress-controller/issues/1444

   ### Issue description
   
   ### Description
   I need to match the domain name in the http referer with the v1 string 
through the ingress configuration, add version: v1 to the http request header, 
and when the domain name in the referer contains the v2 string, add version: v2 
to the http request header.
   
   I have used the proxy-rewrite plugin to achieve statically adding http 
request headers, I am not sure if it can achieve dynamic complex scenarios, I 
hava not seen relevant examples.
   
   
   ask for advice
   
   ### Environment
   
   - APISIX version: 2.15.0
   - APISIX Ingress Controller version (run 
/ingress-apisix/apisix-ingress-controller version --long): 
   Version: 1.5.0
   Git SHA: no-git-module
   Go Version: go1.19.2
   Building OS/Arch: linux/amd64
   - Kubernetes cluster version (output of kubectl version): 
   Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", 
GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", 
BuildDate:"2020-11-11T13:09:17Z", GoVersion:"go1.15.2", Compiler:"gc", 
Platform:"linux/amd64"}
   - OS version (uname -a): CentOS Linux 7 (Core)
   
   
   
   


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