updated nginx config and added some requirements