validations for nginx::resource::upstream