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