ddos - How can I configure NGINX to block HTTP and XMLRPC (Wordpress pingback) attacks? -
hey how can configure nginx block http attacks , xmlrpc attacks? thanks
actually makes more sense:
if ($http_user_agent ~ wordpress) { return 444; }
returning status code 444
tell nginx not send response bad requests , close connection immediately. save lots of traffic , resources compared sending 403 page other response suggests.
source: https://javapipe.com/block-wordpress-xml-rpc-ddos-attacks-with-nginx
Comments
Post a Comment