def pcrejit():
    try:
        output = subprocess.check_output('/usr/sbin/nginx -V', stderr=subprocess.STDOUT, shell=True)
        if (output.decode().find('--with-pcre-jit') != (- 1)):
            return 'on'
        else:
            return 'off'
    except Exception:
        return 'off'
def pcrejit():
    try:
        output = subprocess.check_output('/usr/sbin/nginx -V', stderr=subprocess.STDOUT, shell=True)
        if (output.decode().find('--with-pcre-jit') != (- 1)):
            return 'on'
        else:
            return 'off'
    except Exception:
        return 'off'