Tencent / Biny

Biny is a tiny, high-performance PHP framework for web applications
BSD 3-Clause "New" or "Revised" License
1.69k stars 259 forks source link

csrfWhiteIps配置 #72

Open megidmegid opened 6 years ago

megidmegid commented 6 years ago

您好,首先感谢作者创造了biny框架。另外想问一下,csrfWhiteIps这个配置ip后面要写子网掩码。这个意思是说一个网段的ip配一个机子就行了嘛? 有没有更详细的说明?

billge1205 commented 6 years ago

是的 一个网段的配一个就行 斜杠后面的是子网掩码位数 例如 想匹配 192.168.0.* 只需要配置 192.168.0.1/24 就行 192.168.*.* 则配成 192.168.0.1/16 即可