Welcome! Log In Create A New Profile

Advanced

Re: Nginx wp-admin access control

P.V.Anthony
April 15, 2020 07:38AM
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
Subject Author Posted

Nginx wp-admin access control

Lawrence April 15, 2020 06:54AM

Re: Nginx wp-admin access control

Ian Hobson April 15, 2020 07:36AM

Re: Nginx wp-admin access control

P.V.Anthony April 15, 2020 07:38AM

Re: Nginx wp-admin access control

Francis Daly April 16, 2020 10:48AM

Re: Nginx wp-admin access control

basti April 16, 2020 10:56AM

Re: Nginx wp-admin access control

Lawrence April 16, 2020 11:16AM

Re: Nginx wp-admin access control

basti April 16, 2020 12:06PM

Re: Nginx wp-admin access control

Lawrence April 22, 2020 04:44AM

Re: Nginx wp-admin access control

P.V.Anthony April 22, 2020 07:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready