Answer the question
In order to leave comments, you need to log in
How can you weed out left referrers?
What regular expression can be made for such a purpose?
if ($http_referer != "example.com") {
return 403;
}
Answer the question
In order to leave comments, you need to log in
nginx.org/en/docs/http/ngx_http_referer_module.html
ngx_http_referer_module
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question