Skip to content

Commit c7cd2af

Browse files
committed
Update
1 parent 7f1af68 commit c7cd2af

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

technology/server/server-setup.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -683,16 +683,10 @@ Cloudflare > Website > `Security` > `Security rules`.
683683
- `Expression`: `(not cf.client.bot and not ip.geoip.country in {"AT" "CH" "DE" "LU"} and ip.src ne $server_ip)`.
684684
- `Choose action`: `Managed Challenge`.
685685

686-
4) WordPress Login (Countries Allowed)
687-
688-
- `Rule name`: `WordPress Login (Countries Allowed)`.
689-
- `Expression`: `(http.request.uri.path in {"/wp-login.php"} and not ip.geoip.country in {"BR" "DE"})`.
690-
- `Choose action`: `Block`.
691-
692-
5) WordPress Login (Captcha)
686+
4) WordPress Login (Captcha)
693687

694688
- `Rule name`: `WordPress Login (Captcha)`.
695-
- `Expression`: `(http.request.uri.path in {"/wp-login.php" "/xmlrpc.php"}) or (http.request.uri.path contains "/mein-account/") or (http.request.uri.path contains "/my-account/")`.
689+
- `Expression`: `(http.request.uri.path contains http.request.uri.path contains "/wp-admin/" or "/wp-login.php" or http.request.uri.path contains "/xmlrpc.php" or http.request.uri.path contains "/my-account/" or http.request.uri.path contains "/mein-account/")`
696690
- `Choose action`: `Managed Challenge`.
697691

698692
#### Caching

0 commit comments

Comments
 (0)