license txt fix and robots.txt

This commit is contained in:
Matteo Gheza 2021-03-09 10:12:17 +01:00
parent fdc35a8680
commit ad9fa07810
4 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View File

@ -508,6 +508,7 @@ custom-*.*
*.log *.log
*.txt *.txt
!/server/robots.txt
config.json config.json

View File

@ -22,9 +22,15 @@ $baseConfig = [
*examples* *examples*
*examples *examples
*Makefile* *Makefile*
*LICENSE*
*CREDITS*
*VERSION*
*CHANGELOG*
*.md *.md
*.rst *.rst
*.txt *.txt
!resources/dist/*.LICENSE.txt
!robots.txt
*.sh *.sh
*editorconfig *editorconfig
*doc* *doc*
@ -34,10 +40,6 @@ $baseConfig = [
*.phpstorm* *.phpstorm*
*.php_cs* *.php_cs*
*.xml *.xml
*LICENSE*
*CREDITS*
*VERSION*
*CHANGELOG*
*phpcs* *phpcs*
*phpstan* *phpstan*
*phpunit* *phpunit*

View File

@ -31,7 +31,7 @@
Deny from all Deny from all
</FilesMatch> </FilesMatch>
<FilesMatch "\.(log|txt)$"> <FilesMatch "\.log$">
Order Allow,Deny Order Allow,Deny
Deny from all Deny from all
</FilesMatch> </FilesMatch>

2
server/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /