Installation failing on AWS EC2 with Ubuntu 16.04

Tried removing db information from shared/web_only folder.Now I am not getting db errors but still I am getting HTTP errors.New logs in the link.Please do check if you have any idea