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
*.txt
!/server/robots.txt
config.json

View File

@ -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*

View File

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

2
server/robots.txt Normal file
View File

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