Nginx: Remove deprecated code and config templates.