Ajout fichiers pour forcer https et interdire indexation répertoire datas du site démo.

This commit is contained in:
Fabrice PENHOËT 2021-11-12 12:14:39 +01:00
parent 9d37d76cfb
commit aa65cef241
2 changed files with 5 additions and 0 deletions

3
public/.htaccess Executable file
View File

@ -0,0 +1,3 @@
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

2
public/robots.txt Executable file
View File

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