3 ms·
Anybody know how to do this in nginx?
Anybody know how to do this in nginx?
http://wiki.nginx.org/HttpRefererModule http://wiki.nginx.org/HttpRefererModule
This should work but double check it:
location / {
valid_referers none blocked *.semalt.com semalt.com;
if ($invalid_referer) {
return 403; }
}