Skip to content

Instantly share code, notes, and snippets.

@arooni
Created May 15, 2018 20:11
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