i used the zend debuger debug the process, in first route dispatcher , it works well.
when valiate the user, util code
return $this->forward('index/index');
above dispath i defind the basecontroller. in fact it is $this->dispatcher->forward(...);
then code second debug the volt defined, the nginx said "502 Bad Gateway"
$di->set('voltService', function($view, $di) {
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
$volt->setOptions(array(
"compiledPath" => "../app/compiled-templates/",
"compiledExtension" => ".php",
"compiledSeparator" => "%",
));
return $volt;
});