superTruth opened a new issue, #6944:
URL: https://github.com/apache/apisix/issues/6944

   ### Description
   
   
我现在配置了路由,但是路由实际好像无法生效,不太确定是什么原因造成的。我的https证书已经配对是正确了。我用的是docker启动,是需要独立安装过nginx吗?
   
   这个是路由配置把匹配到domain的所有请求都转发到这个upstream:
   <img width="1699" alt="image" 
src="https://user-images.githubusercontent.com/7315362/165432546-db075b1e-0a99-4c31-8fc8-94c723de2b70.png";>
   
   实际请求这个域名下面的情况(返回404):
   <img width="1335" alt="image" 
src="https://user-images.githubusercontent.com/7315362/165432606-0f5bd17b-85f5-4a7e-a0a5-e1707297e61e.png";>
   
   
我又试了一下用domain访问apisix/admin,发现也可以访问(按我的理解,这条请求应该会匹配上我的路由规则转发到我们的upstream上面才对,但是实际没有):
   <img width="1345" alt="image" 
src="https://user-images.githubusercontent.com/7315362/165432626-805429b7-b9be-4b32-bbd9-ede167649f3e.png";>
   
   
   ### Environment
   
   - APISIX version (run `apisix version`): docker apache/apisix:2.11.0-alpine
   - Operating system (run `uname -a`): docker 
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 没安装
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):   3.5.4
   - APISIX Dashboard version, if relevant:  docker 
apache/apisix-dashboard:2.11-alpine
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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