瀏覽代碼

暂时去除流量监控功能

zjcqoo 6 年之前
父節點
當前提交
1fc4f73cfd
共有 1 個文件被更改,包括 1 次插入14 次删除
  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'
-  ;
-}
+}