root /nginx/html/kohana/kohana ;
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?kohana_uri=/$1 last;
}
index index.php index.html index.htm;
}
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?kohana_uri=/$1 last;
}
index index.php index.html index.htm;
}