summaryrefslogtreecommitdiff
path: root/doc/security/rack_attack.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/security/rack_attack.md')
-rw-r--r--doc/security/rack_attack.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/security/rack_attack.md b/doc/security/rack_attack.md
index c5bbd0db035..9ce2a9bb1ae 100644
--- a/doc/security/rack_attack.md
+++ b/doc/security/rack_attack.md
@@ -177,13 +177,13 @@ In case you want to remove a blocked IP, follow these steps:
1. You can remove the block using the following syntax, replacing `<ip>` with
the actual IP that is blacklisted:
- ```
+ ```plaintext
del cache:gitlab:rack::attack:allow2ban:ban:<ip>
```
1. Confirm that the key with the IP no longer shows up:
- ```
+ ```plaintext
keys *rack::attack*
```