added check.php and edited nginx config to match the digital ocean spec suggestions