Answer the question
In order to leave comments, you need to log in
How to block access to the Wordpress admin panel on Nginx?
Good afternoon!
Site on Wordpress.
FastCGI (Nginx + PHP-FPM) is used.
I want to close access to the admin panel completely, with permission from one IP.
I add this structure:
location /wp-login.php {
allow 0.0.0.0;
deny all;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question