Browse Source

暂时去除流量监控功能

zjcqoo 6 năm trước cách đây
mục cha
commit
1fc4f73cfd
1 tập tin đã thay đổi với 1 bổ sung14 xóa
  1. 1 14
      api.conf

+ 1 - 14
api.conf

@@ -54,17 +54,4 @@ location = /http {
 location = /ws {
   access_by_lua_file    ../lua/ws-dec-req-hdr.lua;
   proxy_pass            $_url;
-}
-
-
-location = /traff {
-  access_log            off;
-
-  content_by_lua_block {
-    ngx.say(ngx.shared.traff:get('stat'))
-  }
-  more_set_headers
-    'access-control-allow-origin: *'
-    'cache-control: no-cache'
-  ;
-}
+}