I have a concern: if these nginx snippets conflict with Apache APISIX plugins, how can we find it out or debug? others looks good to me.
Thanks, Ming Wen, Apache APISIX & Apache SkyWalking Twitter: _WenMing Zhang Chao <[email protected]> 于2020年10月31日周六 下午2:16写道: > Nice idea, it can meet more complicated users scenarios. > > On October 31, 2020 at 12:39:34 PM, Zexuan Luo ([email protected]) > wrote: > > GH issue: https://github.com/apache/apisix/issues/2565 > > I think we can introduce several conf snippets in the config.yaml file. > Just like ingress-nginx's snippet feature: > > https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#configuration-snippet > > The kind of snippets we can support: > main_conf > admin_conf # inject into http -> admin server block > stream_conf > http_conf > http_server_conf > > Of course, we can't guarantee the user inject configuration doesn't > conflict with our template code. It is up to the user to handle this. > > What's your opinion on this? >
