Follow

防ddos的毛象nginx设置,不确定是否管用。

如果不管用,烦请指正。

' '代表这一行需要你复制粘贴。

复制粘贴时记得把加号去掉。

以下是毛象nginx文件需要修改的地方。

limit_req_zone $binary_remote_addr zone=one:50m rate=10r/m;
map $http_upgrade $connection_upgrade {

}
...

...
server { client_body_timeout 5s;
listen 443 ssl http2;
listen [::]:443 ssl http2;

Sign in to participate in the conversation
Pawoo

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!