Welcome! Log In Create A New Profile


exception in location

Posted by translatorgreek 
exception in location
May 19, 2018 09:46AM
I use this to deny access to wp-login.php

location ~ /wp-login.php$ { deny all; }

However, I want to add an exception and allow it only if it contains "itsec-hb-token", I.e.


where wplogin can be any username

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready