You’re looking for zammad run rails r "Setting.set('http_type', 'https')"
expecting you using a package installation. As we know nothing about your installation and where you’re coming from, please note that you may expect different reasons than there were in this thread.