Validate nginx class parameters.