xiangtianyu commented on issue #12222: URL: https://github.com/apache/apisix/issues/12222#issuecomment-2911239769
> Will this configuration solve the problem? > > ``` > plugins: > response-rewrite: > filters: > - regex: "http[s]?://test\\.inner\\.com(/.*)" > replace: "http://$host$1" > scope: "global" > vars: > - ["status", "IN", [301, 302]] > ``` It might replace all in the response? Not just Location? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org