galaxy-zh opened a new issue, #11258:
URL: https://github.com/apache/apisix/issues/11258

   ### Description
   
   docker run -it --name etcd \
   --network host \
   --env ALLOW_NONE_AUTHENTICATION=yes -d bitnami/etcd:3.4.9
   
   docker run --name test-api-gateway \
    --network host \
    -d apache/apisix
    
   创建二个容器
   在创建一个简单的路由
   {
        "total": 1,
        "list": [{
                "key": "/apisix/routes/513915265587613668",
                "createdIndex": 125,
                "modifiedIndex": 125,
                "value": {
                        "upstream": {
                                "scheme": "http",
                                "type": "roundrobin",
                                "keepalive_pool": {
                                        "size": 320,
                                        "idle_timeout": 60,
                                        "requests": 1000
                                },
                                "timeout": {
                                        "send": 6,
                                        "connect": 6,
                                        "read": 6
                                },
                                "pass_host": "pass",
                                "nodes": {
                                        "127.0.0.1:9060": 1
                                }
                        },
                        "name": "test",
                        "uri": "/*",
                        "methods": ["GET", "POST", "PUT", "DELETE", "PATCH", 
"HEAD", "OPTIONS", "CONNECT", "TRACE", "PURGE"],
                        "id": "513915265587613668",
                        "update_time": 1715846968,
                        "status": 1,
                        "plugins": {
                                "proxy-rewrite": {
                                        "scheme": "http"
                                }
                        },
                        "create_time": 1715846968,
                        "host": "test.top"
                }
        }]
   }
   ╰─# curl 127.0.0.1:9060/v1/index.php                                         
                       
   1715851507
   
   ╰─# curl  test.top
   <html>
   <head><title>404 Not Found</title></head>
   <body>
   <center><h1>404 Not Found</h1></center>
   <hr><center>nginx</center>
   </body>
   </html>
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - 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: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to