Remove rewrite rule

This commit reverts to state of 4c90f885c3.
Rewrite are not followed by PUT request, which makes them unusable.
pull/3/head
Julien Malik 11 years ago
parent aa1c28aae3
commit 677e40af43

@ -3,9 +3,6 @@ location PATHTOCHANGE {
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
if ($request_uri !~ index.php/$) {
rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent;
}
index index.php; index index.php;
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {

Loading…
Cancel
Save