Nginx is used to handle static files.
If you want to run .php files, you have to install fastcgi or something like that