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/10/30 03:46:51 UTC

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

nanamikon edited a comment on issue #2565:
URL: https://github.com/apache/apisix/issues/2565#issuecomment-719153151


   Sureļ¼
   For example
   
   Third-party nginx module param 
   ``` 
   req_status_zone host "$server_name" 200M;
   req_status_zone hostadr "$server_name:$upstream_addr" 200M;
   req_status host hostadr;
   req_status_lazy on;
   
   server
   {
       listen 45651;
       server_name _;
       access_log off;
   
       location /ysec_status {
           req_status_show;
           allow 127.0.0.1;
           deny all;
       }
   }
   ```
   
   
   Other not support nginx param
   ```
   gzip             on;
   	gzip_comp_level  6;
   	gzip_min_length  1k;
   	gzip_buffers     4 8k;
   	gzip_disable     "MSIE [1-6]\.(?!.*SV1)";
   	gzip_types       text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
   ``` 


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