mirror of
https://yerbamate.ml/nutomic/peertube.social
synced 2024-11-24 21:58:20 -05:00
Prevent crawlers with robots.txt
This commit is contained in:
parent
ce04ab65f8
commit
da3e988060
@ -162,6 +162,10 @@ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
location = /robots.txt {
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "User-agent: *\nDisallow: /\n";
|
||||
}
|
||||
}
|
||||
|
||||
# Anonymize IP addresses
|
||||
|
Loading…
Reference in New Issue
Block a user