Welcome! Log In Create A New Profile

Advanced

Restrict access to the WordPress dashboard by IP address

Posted by s3rdu 
Restrict access to the WordPress dashboard by IP address
August 31, 2016 09:52AM
Hallo zusammen, ich hab ein kleines problem und zwar:

Wenn ich dieser Code im "server {}" hinzufüge funktioniert leider "allow" nicht - es sperrt automatisch alle - was kann ich da tun?

PS: .conf datei ist im nginx.conf included

/***************************************************/

location ~ ^/(wp-admin|wp-login\.php) {
allow xx.xxx.x.xxx;
allow xxx.xxx.xxx.xx;
allow xxx.x.x.x;
deny all;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
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