I'm working on building a website using MAMP + nginx + phalcon. I have everything set up and phalcon is working, but it only sees the IndexController and the indexAction. If I add more controllers and try to navigate to them I get a 404 error. Also if I add another action to the IndexController I can not get to it and I get a 404 error again. Here is my nginx config file:
server {
listen 7888 default_server;
root "/dev/testing/public";
location / {
index index.html index.php;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/Applications/MAMP/Library/logs/fastcgi/nginxFastCGI.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
My index.php is the same as the given index in the phalcon documentation. Any advice/insights would be greatly appreciated.