After installing nginx I can see that the homepage of my web server is changed with the default nginx page. How can I configure nginx now?
Nginx is a light weight and fast web server also you can use nginx fastcgi cache options to speedup your websites.
To configure nginx first you have to add set no of option in nginx like server_name and root path
You can try easyengine which install and configure nginx and all the dependency on one go.
Sample Config For Your Nginx is: https://github.com/rtCamp/easyengine/blob/master/usr/share/easyengine/nginx/php/basic.conf