Created
May 15, 2018 20:11
-
-
Save arooni/0b6a75bba22a53cd9989e4a7009b143b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 if ( $allow_address = 0 ) { | |
20 set $check "A"; | |
21 } | |
22 | |
23 if ( $request_uri ~ ^/wp-login\.php ) { | |
24 set $check "${check}B"; | |
25 } | |
26 | |
27 if ( $check = "AB" ) { | |
28 return 403; | |
29 } | |
30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment