Browse Source

changed the root

Patrick Falls 12 years ago
parent
commit
6e79440026
1 changed files with 4 additions and 4 deletions
  1. 4 4
      phreeze/deploy/nginx.conf

+ 4 - 4
phreeze/deploy/nginx.conf

@@ -59,11 +59,11 @@ http {
         #    proxy_pass   http://127.0.0.1;
         #    proxy_pass   http://127.0.0.1;
         #}
         #}
         
         
-        root /home/ubuntu/FrameworkBenchmarks/;
+        root /home/ubuntu/FrameworkBenchmarks/phreeze/;
         index  index.php;
         index  index.php;
         
         
-        location /phreeze/ {
-            try_files $uri $uri/ /phreeze/index.php?_REWRITE_COMMAND=$uri&$args;
+        location / {
+            try_files $uri $uri/ /index.php?_REWRITE_COMMAND=$uri&$args;
         }
         }
 
 
         # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
         # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
@@ -122,4 +122,4 @@ http {
     #    }
     #    }
     #}
     #}
 
 
-}
+}