diff --git a/nginx.conf b/nginx.conf index ff33aa9..242c867 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,6 +5,10 @@ server { root /var/www/binternet; index index.php; + location = /robots.txt { + root /var/www/binternet; + } + location ~ \.php$ { fastcgi_pass unix:/run/php-fpm82.sock; fastcgi_index index.php; diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /