validations for nginx::resource::location