From c2c3cd0b1ee3e55f766b5a117b55f2f5195e0134 Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 11 Jan 2014 13:49:58 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c61b96f..494538f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,7 +4,7 @@ location PATHTOCHANGE { rewrite ^ https://$server_name$request_uri? permanent; } if ($request_uri !~ index.php/$) { - rewrite ^/PATHTOCHANGE/(.*)$ https://$server_name/PATHTOCHANGE/index.php/$1 permanent; + rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent; } index index.php; try_files $uri $uri/ /index.php?$args;