Alex on Nostr: Neat trick: tail -f /var/log/nginx/access.log | grep ' 429 ' Watch and see if any IP ...
Neat trick:
tail -f /var/log/nginx/access.log | grep ' 429 '
Watch and see if any IP is spamming you, then `ufw insert 1 deny from <ip>`
Published at
2024-09-16 01:10:12Event JSON
{
"id": "68e93fd7e3f533f0767e84a303a483f15ba1785ed487926498efc89867eaf70c",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1726449012,
"kind": 1,
"tags": [],
"content": "Neat trick:\n\ntail -f /var/log/nginx/access.log | grep ' 429 '\n\nWatch and see if any IP is spamming you, then `ufw insert 1 deny from \u003cip\u003e`",
"sig": "2f94cc7f3e4012e4afb3ccdc9bbfc0919e2866c074851e24783303b8753529f3a50ad926f6fde346433ebf5dfce146632a9a3a680848911505f50042d8edf05a"
}