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?
