updated nginx state

This commit is contained in:
Paul 2020-11-09 09:40:40 +01:00
parent 11d457a384
commit e698cd8a35
5 changed files with 20 additions and 0 deletions

View File

@ -27,4 +27,8 @@ server {
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
location /robots.txt {
return 200 "User-agent: *\r\nDisallow: /";
}
}

View File

@ -48,4 +48,8 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $1 =404;
}
location /robots.txt {
return 200 "User-agent: *\r\nDisallow: /";
}
}

View File

@ -27,4 +27,8 @@ server {
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
location /robots.txt {
return 200 "User-agent: *\r\nDisallow: /";
}
}

View File

@ -31,4 +31,8 @@ server {
alias {{ dir.alias }};
}
{%- endfor %}
location /robots.txt {
return 200 "User-agent: *\r\nDisallow: /";
}
}

View File

@ -23,4 +23,8 @@ server {
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
location /robots.txt {
return 200 "User-agent: *\r\nDisallow: /";
}
}