disable elasticsearch HTTP REST API and add setting to reenable it