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 2020/11/03 13:34:03 UTC

[GitHub] [apisix] nanamikon commented on issue #2565: support include other nginx config in the apisix(lua file)

nanamikon commented on issue #2565:
URL: https://github.com/apache/apisix/issues/2565#issuecomment-720369064


   > I will vote for ingress-nginx's snippet feature:
   > https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#configuration-snippet
   > 
   > This feature can be configured directly in the yaml file.
   
   Good idea , most of situation can be covered。
   
   ```
   server
   {
       listen 45651;
       server_name _;
       access_log off;
   
       location /ysec_status {
           req_status_show;
           allow 127.0.0.1;
           deny all;
       }
   }
   ```
   But I think this format of config is not suitable to write to ymal  


----------------------------------------------------------------
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