You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/15 15:04:12 UTC

[GitHub] [apisix] membphis commented on a change in pull request #2409: feature: support multiple ports like stream listen in http and https …

membphis commented on a change in pull request #2409:
URL: https://github.com/apache/apisix/pull/2409#discussion_r505616200



##########
File path: FAQ.md
##########
@@ -270,3 +270,21 @@ If your APISIX node does not open the Admin API, then you can manually load the
 ```shell
 apisix reload
 ```
+
+## How to support multiple ports in http and https listen port?
+
+The Apache APISIX listens to a single port by default. If you need to support http or https to listen to multiple ports, modify the steps:

Review comment:
       The English sentence here is not very good. You need to write another one.
   You can use deepl.com ^_^.

##########
File path: FAQ_CN.md
##########
@@ -220,3 +220,23 @@ curl http://127.0.0.1:9080/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034
 ```shell
 apisix reload
 ```
+
+## 如何支持http和https多端口监听
+apisix默认监听单端口,如果需要支持http或https监听多端口,修改步骤:
+
+1、修改conf/config.yaml中的http端口监听的配置参数`node_listen`,或https端口监听的参数`ssl.listen_port`,格式如下
+```

Review comment:
       ditto

##########
File path: FAQ_CN.md
##########
@@ -220,3 +220,23 @@ curl http://127.0.0.1:9080/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034
 ```shell
 apisix reload
 ```
+
+## 如何支持http和https多端口监听
+apisix默认监听单端口,如果需要支持http或https监听多端口,修改步骤:
+
+1、修改conf/config.yaml中的http端口监听的配置参数`node_listen`,或https端口监听的参数`ssl.listen_port`,格式如下
+```

Review comment:
       修改conf/config.yaml中的http端口监
   ->
   修改`conf/config.yaml`中的 HTTP 端口监

##########
File path: FAQ_CN.md
##########
@@ -220,3 +220,23 @@ curl http://127.0.0.1:9080/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034
 ```shell
 apisix reload
 ```
+
+## 如何支持http和https多端口监听
+apisix默认监听单端口,如果需要支持http或https监听多端口,修改步骤:
+
+1、修改conf/config.yaml中的http端口监听的配置参数`node_listen`,或https端口监听的参数`ssl.listen_port`,格式如下
+```
+apisix:
+  node_listen:
+    - 9080
+    - 9081
+    - 9082
+  ssl:
+    listen_port:
+      - 9443
+      - 9444
+      - 9445
+```
+
+2、重启APISIX

Review comment:
       need a space between Chinese and English

##########
File path: FAQ_CN.md
##########
@@ -220,3 +220,23 @@ curl http://127.0.0.1:9080/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034
 ```shell
 apisix reload
 ```
+
+## 如何支持http和https多端口监听
+apisix默认监听单端口,如果需要支持http或https监听多端口,修改步骤:

Review comment:
       add a blank line before this line




----------------------------------------------------------------
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:
users@infra.apache.org