My current rule set is:
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass localhost:8000;
}
I need to pass all the request to index.php;
Exceptions : robots.txt file and everything inside images/ directory and sub directory.