https://github.com/alibaba/nginx-http-sysguard, 淘寶開源限流模塊git
>brew install pcre openssl # 安裝依賴, 須要下載源碼 >git clone https://github.com/taobao/nginx-http-sysguard.git # 如今TMD >patch -p1 < ../../nginx-http-sysguard/nginx_sysguard_1.3.9.patch # 使用patch修復文件,在目錄./bundle/nginx-XX執行,是待修復的文件的上級目錄 >./configure --prefix=/Users/a002/IdeaProjects/openresty-1.13.6.2/openresty --add-module=./nginx-http-sysguard --with-openssl=./openssl-1.0.2k --with-pcre=./pcre-8.40 >make -j2 & make install # 雙核編譯,核數