Adding nginx config, fixing php deps and adding a local var file