'Initialize an Nginx Configurator.
:param tup version: version of Nginx as a tuple (1, 4, 7)
(used mostly for unittesting)'

def __init__(self, *args, **kwargs):

    version = kwargs.pop('version', None)
    super(NginxConfigurator, self).__init__(*args, **kwargs)
    self._verify_setup()
    self.save_notes = ''
    self._chall_out = 0
    self.parser = None
    self.version = version
    self._enhance_func = {'redirect': self._enable_redirect, 'staple-ocsp': self._enable_ocsp_stapling}
    self.reverter = reverter.Reverter(self.config)
    self.reverter.recovery_routine()
