tzssangglass commented on issue #1195:
URL: https://github.com/apache/apisix/issues/1195#issuecomment-706711671
now i modified config.yaml as follows
```
apisix:
node_listen:
- 9080
- 9081
- 9082
```
and modified the ngx_tpl related places, as follows
```
{% for _, port in ipairs(node_listen) do %}
listen {* port *} {% if enable_reuseport then %} reuseport {% end %};
{% end %}
……
{% for _, port in ipairs(node_listen) do %}
listen [::]:{* port *} {% if enable_reuseport then %} reuseport {%
end %};
{% end %}
```
in this way config.yaml can be parsed as the following configuration in
nginx.conf
```
listen 9080 reuseport;
listen 9081 reuseport;
listen 9082 reuseport;
……
listen [::]:9080 reuseport;
listen [::]:9081 reuseport;
listen [::]:9082 reuseport;
```
now my question is
- Is it compatible with the original configuration of node_listen and
separated by commas
- Expansion 9080 and 9443 port
----------------------------------------------------------------
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:
[email protected]