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

   ### Description
   
   I applied for an ssl certificate on Tencent Cloud platform.
   
   
![微信图片_20230429000646](https://user-images.githubusercontent.com/27326994/235198398-8dab44a5-4c09-46d9-ae74-3b6742a7b657.png)
   
   
   Console config
   
   
![微信图片_20230429001143](https://user-images.githubusercontent.com/27326994/235199462-f459aa52-b0fd-4214-acce-722cc7e9998e.png)
   
   
   config.yml
   
   `
   apisix:
     node_listen: 
       - 80
       - 443
     ssl:
       enable: true
       listen:
         - port: 443
     enable_ipv6: false
     enable_server_tokens: false
     enable_control: true
     control:
       ip: "0.0.0.0"
       port: 9092
   `
   
   
   docker compose
   
   `
   version: "3"
   
   services:
     apisix-dashboard:
       image: apache/apisix-dashboard:3.0.1-alpine
       restart: always
       environment:
         - TZ=Asia/Shanghai
       container_name: apisix-dashboard
       volumes:
       - ./dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml
       ports:
       - "9000:9000"
       networks:
         apisix:
   
     apisix:
       image: apache/apisix:${APISIX_IMAGE_TAG:-3.2.0-debian}
       restart: always
       container_name: apisix
       environment:
         - TZ=Asia/Shanghai
       volumes:
         - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
           #- ./static:/home  
       depends_on:
         - etcd
       ##network_mode: host
       ports:
         - "80:80/tcp"
         - "443:443/tcp"
       networks:
         apisix:
   
     etcd:
       image: bitnami/etcd:3.4.15
       restart: always
       container_name: etcd
       volumes:
         - etcd_data:/bitnami/etcd
       environment:
         ETCD_ENABLE_V2: "true"
         ALLOW_NONE_AUTHENTICATION: "yes"
         ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379";
         ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379";
       ports:
         - "2379:2379/tcp"
       networks:
         apisix:
   `
   
   route config
   
   `
   {
     "uri": "/nexus/*",
     "name": "nexus",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE",
       "PURGE"
     ],
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": [
           "^/nexus/(.*)",
           "/${1}"
         ]
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "localhost",
           "port": 8081,
           "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
       }
     },
     "enable_websocket": true,
     "status": 1
   }
   
   `
   
   ![Uploading 微信图片_2023042900153
   
![微信图片_20230429001532](https://user-images.githubusercontent.com/27326994/235200628-c481c42d-c077-4f7c-bdd5-de1efa94dcad.png)
   2.png…]()
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   
![Snipaste_2023-04-29_00-17-16](https://user-images.githubusercontent.com/27326994/235200709-25d12496-c848-4561-810e-1a2fbe5b73bd.png)
   
   - Operating system (run `uname -a`):
   uname -a
   Linux master-yzjbz2158990521-1542702819626 5.4.0-70-generic #78-Ubuntu SMP 
Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   
   
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   
   nginx version: openresty/1.21.4.1
   
   - 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to