On 15/4/20 6:52 pm, Lawrence wrote:

I have 5 seperate sites under sites-enabled.
Each site has it's own config file where I have tried to manage and block access to my  two wordpress sites on wp-admin/wp-login.

The site www.atlantic-kids-academy.com and www.hockeysticks4clubs.com are running on wordpress.

The issue I have is that literally thousands of attempts are made on the site everyday trying to access the wp-admin or wp-login

Please note that I am not an expert. Just something that I am using currently and it works for me.

if ( $request_uri = "/something?place=2" ) {
rewrite ^ https://www.example.com${uri}?${args}? last;
}

Please check with others also.

P.V.Anthony


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to