From 677e40af43002ebd9171178b91e2028c026125b9 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Fri, 17 Jan 2014 18:12:09 +0100 Subject: [PATCH] Remove rewrite rule This commit reverts to state of 4c90f885c3364a52b971b66982b467be073943e2. Rewrite are not followed by PUT request, which makes them unusable. --- conf/nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 494538f..175966b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,9 +3,6 @@ location PATHTOCHANGE { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - if ($request_uri !~ index.php/$) { - rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent; - } index index.php; try_files $uri $uri/ /index.php?$args; location ~ [^/]\.php(/|$) {