Ajout fichiers pour forcer https et interdire indexation répertoire datas du site démo.
This commit is contained in:
parent
9d37d76cfb
commit
aa65cef241
3
public/.htaccess
Executable file
3
public/.htaccess
Executable 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
2
public/robots.txt
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /datas/
|
Loading…
Reference in New Issue
Block a user