block bad referrers
This commit is contained in:
3
confs/site/block-referrer.conf
Normal file
3
confs/site/block-referrer.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
if ($bad_referrer = yes) {
|
||||
return 444;
|
||||
}
|
||||
@@ -25,6 +25,7 @@ server {
|
||||
%FEATURE_POLICY%
|
||||
%PERMISSIONS_POLICY%
|
||||
%BLOCK_USER_AGENT%
|
||||
%BLOCK_REFERRER%
|
||||
%BLOCK_TOR_EXIT_NODE%
|
||||
%BLOCK_PROXIES%
|
||||
%BLOCK_ABUSERS%
|
||||
|
||||
Reference in New Issue
Block a user