2294648043 commented on issue #7416:
URL: https://github.com/apache/apisix/issues/7416#issuecomment-1179976754

   > 并且需要给出完整的步骤复现,比如upstream怎么搭建,路由配置是什么?
   
   apisix is ​​deployed via docker-compose
   Configuration in docker-compose:
   `apisix:
       image: apache/apisix:2.14.1-alpine
       restart: always
       container_name: apisix
       volumes:
         - /data/apisix/logs:/usr/local/apisix/logs
         - /data/apisix/config/config.yaml:/usr/local/apisix/conf/config.yaml
         - /data/apisix/plugins:/usr/local/apisix/apisix/plugins
       ports:
         - "80:9080/tcp"
         - "9091:9091/tcp"
         - "443:9443/tcp"
         - "9092:9092/tcp"
         - "9180:9180/tcp"
       networks:
         - apisix`
   
   Services are accessed through intranet ip + port
   Example:
   ` {
     "upstream": {
       "nodes": [
         {
           "host": "172.16.5.187",
           "port": 20006,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     }
   }`
   


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