+
95
-

有没有开源的类似cloudfare的网站代理防火墙源码?

有没有开源的类似cloudfare的网站代理防火墙源码?


网友回复

+
15
-

可以使用lua+nginx进行限流和反向代理,也可以结合js来...

点击查看剩余70%

+
15
-

还可以直接使用openresty的内置lua模块

openresty是什么

openresty也是web服务器,是基于nginx开发出来,但其内置了lua扩展功能,能让你编写lua脚本对其进行扩展。

安装openresty

我们下面只说centos下的安装方法,其它平台安装方法请参照官网文档:

https://openresty.org/en/installation.html添加软件仓库源

wget https://openresty.org/package/centos/openresty.repo -O /etc/yum.repos.d/openresty.repo

安装软件

yum install op...

点击查看剩余70%

+
15
-

github.com/chaitin/safeline

我知道答案,我要回答