查无此人 发表于 2019-3-21 14:55:54

分享我的nginx.conf主要部分

mark一个,虽然不知道怎么用。。。

zhujimi 发表于 2019-3-21 15:01:00

不知道说的什么,好像很厉害的样子

jpfree 发表于 2019-3-21 15:09:22

没啥亮点,cf+连接控制+geo

why? 发表于 2019-3-21 15:21:06

套了 cf 是不是反而会变慢……

Galileo 发表于 2019-3-21 15:29:15

好像有防cc的,收藏备用

查无此人 发表于 2019-3-21 15:33:54

cloudflare ip那又长又臭

smile.gif

其实就php一句话的事
[*]$header = $request->header();
[*]if (isset($header['cf-connecting-ip'])){
[*]   return ip2long($header['cf-connecting-ip']);
[*]}
[*]复制代码

t9913085 发表于 2019-3-21 15:37:02

geoip的库有点老了,现在都编译geoip2
006.gif

flofire 发表于 2019-3-21 15:49:35

马克。。。。膜拜大佬。。。。感觉很牛逼的样子,有没有大佬讲解下,干啥用的?
页: [1]
查看完整版本: 分享我的nginx.conf主要部分