'Check the configuration of Nginx for errors.
:raises .errors.MisconfigurationError: If config_test fails'

def config_test(self):

    try:
        util.run_script([self.conf('ctl'), '-c', self.nginx_conf, '-t'])
    except errors.SubprocessError as err:
        raise errors.MisconfigurationError(str(err))
