Answer the question
In order to leave comments, you need to log in
How to block access to sites by link?
Hello. Please tell me, I have a site, for example site.ru, I am being attacked by a DDoS attack of the l7 level, how to prohibit access to the site using a link of this type site.ru/?GHBGFFUJN. Thanks in advance
Answer the question
In order to leave comments, you need to log in
at the nginx level
if ($arg_GHBGFFUJN) {
return 444;
}
public/index.php
if(isset($_GET['GHBGFFUJN'])) {
http_response_code(403);
exit;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question