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 2022/04/08 09:05:33 UTC
[GitHub] [apisix] jade-liverpool opened a new issue, #6810: help request: aconfig.yaml中enable_admin属性和自定义插件_M_api()方法的关系
jade-liverpool opened a new issue, #6810:
URL: https://github.com/apache/apisix/issues/6810
### Description
1.我需要在apisix自定义一个路由服务,所以自定义了一个插件,编写了_M_api()方法,可以访问成功
2.在config.yaml中把enbale_admin设置为false,但是自定义插件暴露出来的路由,仍然可以访问
我的问题:
1.自定义插件_M_api()方法暴露的接口 和 enbale_admin有没有关系?
2.自定义插件_M_api()方法暴露的接口的域名和ip能否自定义设置?
### Environment
- APISIX version (run `apisix version`): 2.10.0
- Operating system (run `uname -a`): Ubuntu
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.19.3.1
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): "etcd_version":"3.4.0"
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`): luarocks 3.7.0
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #6810: help request: config.yaml中enable_admin属性和自定义插件_M_api()方法的关系
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6810:
URL: https://github.com/apache/apisix/issues/6810#issuecomment-1105382531
> 1.自定义插件路由的域名和端口能否自定义?
yes, you need to change control-API,
see: https://github.com/apache/apisix/blob/master/docs/en/latest/control-api.md
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kwanhur commented on issue #6810: help request: config.yaml中enable_admin属性和自定义插件_M_api()方法的关系
Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #6810:
URL: https://github.com/apache/apisix/issues/6810#issuecomment-1105217113
It's better to communicate with English in the public channel. Did translation, more community member will take some eyes and discuss on it.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org