From ad9fa0781043b7411c69268840d9f94c1726b1b4 Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Tue, 9 Mar 2021 10:12:17 +0100 Subject: [PATCH] license txt fix and robots.txt --- .gitignore | 1 + deployment.php | 10 ++++++---- server/.htaccess | 2 +- server/robots.txt | 2 ++ 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 server/robots.txt diff --git a/.gitignore b/.gitignore index aba3f9e..901db68 100644 --- a/.gitignore +++ b/.gitignore @@ -508,6 +508,7 @@ custom-*.* *.log *.txt +!/server/robots.txt config.json diff --git a/deployment.php b/deployment.php index f10fe11..3f3a9de 100644 --- a/deployment.php +++ b/deployment.php @@ -22,9 +22,15 @@ $baseConfig = [ *examples* *examples *Makefile* + *LICENSE* + *CREDITS* + *VERSION* + *CHANGELOG* *.md *.rst *.txt + !resources/dist/*.LICENSE.txt + !robots.txt *.sh *editorconfig *doc* @@ -34,10 +40,6 @@ $baseConfig = [ *.phpstorm* *.php_cs* *.xml - *LICENSE* - *CREDITS* - *VERSION* - *CHANGELOG* *phpcs* *phpstan* *phpunit* diff --git a/server/.htaccess b/server/.htaccess index 30789ec..7015f5a 100644 --- a/server/.htaccess +++ b/server/.htaccess @@ -31,7 +31,7 @@ Deny from all - + Order Allow,Deny Deny from all diff --git a/server/robots.txt b/server/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/server/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file