refine nginx config, removes php5-fpm install and make curl test