How to enable DDoS protection?

前端 未结 10 1224
天命终不由人
天命终不由人 2020-11-29 15:04

DDoS (Distributed Denial of Service Attacks) are generally blocked on a server level right?

Is there a way to block it on a PHP level, or at least reduce it?

10条回答
  •  鱼传尺愫
    2020-11-29 15:46

    There are plugins you can use in apache for ddos/dos. Good start here http://www.debianadmin.com/how-to-protect-apache-against-dosddos-or-brute-force-attacks.html

    If you're on LEMP, you can check here. http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html

    These are good inexpensive starting points.

提交回复
热议问题