Début des modifs
This commit is contained in:
@@ -3,15 +3,15 @@ AddDefaultCharset UTF-8
|
||||
Options +FollowSymlinks -Indexes
|
||||
|
||||
#Order Deny,Allow
|
||||
#Allow from 80.13.219.222
|
||||
#Allow from 92.108.30
|
||||
#Deny from all
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# Forcer le HTTPS
|
||||
RewriteCond %{SERVER_PORT} 80
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||
#RewriteCond %{SERVER_PORT} 80
|
||||
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||
|
||||
# Forcer le sous domaine
|
||||
#RewriteCond %{HTTP_HOST} !^www.light-domotique.fr$
|
||||
|
||||
@@ -24,7 +24,7 @@ require __DIR__ . '/../core/vendor/autoload.php';
|
||||
$trustedIp = array(
|
||||
'::1',
|
||||
'127.0.0.1',
|
||||
'86.210.183.184',
|
||||
'92.184.108.30'
|
||||
);
|
||||
|
||||
$request = Request::createFromGlobals();
|
||||
|
||||
Reference in New Issue
Block a user