changed nginx config files to erb