4 ms·
HAProxy offers a better DDos mitigation configurables in comparison to nginx. Thats it.
by sparaker 11y ago
HAProxy offers a better DDos mitigation configurables in comparison to nginx. Thats it.
- phildougherty 11y agoCloudFlare is build on top of OpenResty which is basically stock nginx with ngx_lua and a bunch of other modules built in. I would argue that if you want it to be, nginx can be much better at DDoS mitigation. You can use the modules limit_conn and limit_req to control how many connection individual IPs can make to your server for basic control.
- mkhpalm 11y agoYou can add various things on top of nginx... but you can use stock haproxy to limit the number of connections by source IP.
- jhgg 11y agoThis can also be achieved in nginx fairly easy: http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_conn http://nginx.org/en/docs/http/ngx_http_limit_conn_module.htm...