Przeglądaj źródła

Supprimer des lignes de conf nginx inutile

magikcypress 8 lat temu
rodzic
commit
123f1f41fd
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0 6
      conf/nginx.conf

+ 0 - 6
conf/nginx.conf

@@ -2,12 +2,6 @@ location __PATHTOCHANGE__ {
 	alias __FINALPATH__/;
 	index index.php;
 
-	if (!-e $request_filename)
-	{
-		rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
-		rewrite ^/.*$ __PATHTOCHANGE__/index.php last;
-	}
-
 	if ($scheme = http) {
 	  rewrite ^ https://$server_name$request_uri? permanent;
 	}