add: все для робот.тхт
This commit is contained in:
@@ -87,6 +87,14 @@ http {
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
# Robots.txt
|
||||
location = /robots.txt {
|
||||
alias /app/public/static_collected/robots.txt;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
location / {
|
||||
# --- ЗАЩИТА ОТ БРУТФОРСА ---
|
||||
# Применяем зону 'one', разрешаем "всплеск" до 10 запросов.
|
||||
|
||||
Reference in New Issue
Block a user