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 2021/01/13 03:25:41 UTC
[GitHub] [apisix] belongwqz opened a new issue #3265: request help: stream proxy support dynamic configuration
belongwqz opened a new issue #3265:
URL: https://github.com/apache/apisix/issues/3265
### Issue description
根据 [https://github.com/apache/apisix/blob/master/doc/stream-proxy.md#how-to-enable-stream-proxy](https://github.com/apache/apisix/blob/master/doc/stream-proxy.md#how-to-enable-stream-proxy)说明,stream_proxy只能从配置文件进行,能否做成etcd里的动态配置,以便可以使用接口或者dashboard进行管理。
### Environment
* apisix version (cmd: `apisix version`):
* OS: (cmd: `uname -a`)
* OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
----------------------------------------------------------------
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
[GitHub] [apisix] spacewander commented on issue #3265: request help: stream proxy support dynamic configuration
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3265:
URL: https://github.com/apache/apisix/issues/3265#issuecomment-759189826
@belongwqz
We can't do it as Nginx doesn't support listening new port on the fly.
----------------------------------------------------------------
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
[GitHub] [apisix] spacewander closed issue #3265: request help: stream proxy support dynamic configuration
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3265:
URL: https://github.com/apache/apisix/issues/3265
----------------------------------------------------------------
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
[GitHub] [apisix] belongwqz commented on issue #3265: request help: stream proxy support dynamic configuration
Posted by GitBox <gi...@apache.org>.
belongwqz commented on issue #3265:
URL: https://github.com/apache/apisix/issues/3265#issuecomment-762060588
可以考虑将配置文件(config.yaml)里的stream_proxy配置推送到etcd里,然后apisix-dashboard就可以从etcd获知哪些端口以及协议已经开启监听用于4层代理,然后基于此来进行更进一步的动态stream_route的配置。
----------------------------------------------------------------
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
[GitHub] [apisix] Firstsawyou commented on issue #3265: request help: stream proxy support dynamic configuration
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3265:
URL: https://github.com/apache/apisix/issues/3265#issuecomment-759184458
The settings of stream route can be dynamically configured through etcd. The configuration file is to enable and configure the stream 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:
users@infra.apache.org