DirtyIndustry opened a new issue #2602: URL: https://github.com/apache/apisix/issues/2602
### Hi, i'm trying to build a api gateway in stand-alone mode. But I can't find enough guide or example to achive that. Could anyone give me some help please? Especially in how to setup plugins in apisix.yaml. thanks. ### Environment * apisix version (cmd: `apisix version`): 2.0 * OS: CentOS 8 The target url is [(http://dirtyindustry.cn:8080/api/basmatstrips](http://dirtyindustry.cn:8080/api/basmatstrips), and I wish access it from [http://dirtyindustry.cn:9080/hello/basmatstrips](http://dirtyindustry.cn:9080/hello/basmatstrips). version 1 apisix.yaml: ``` routes: - uri: /hello* upstream: nodes: "127.0.0.1:8080": 1 type: roundrobin #END ``` route worked but can't get any data. version 2 apisix.yaml: ``` routes: - uri: /hello/${everything} upstream: nodes: "127.0.0.1:8080": 1 type: roundrobin plugins: - redirect: uri: "/api/${everything}" #END ``` route don't work, return {"error_msg":"404 Route Not Found"} version 3 apisix.yaml: ``` routes: - uri: /hello* upstream: nodes: "127.0.0.1:8080": 1 type: roundrobin plugins: - redirect: uri: "/api*" #END ``` route don't work, return {"error_msg":"404 Route Not Found"} ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
