diff --git a/config/initializers/chewy.rb b/config/initializers/chewy.rb index 0d9fc75e994..e92e3c9cde0 100644 --- a/config/initializers/chewy.rb +++ b/config/initializers/chewy.rb @@ -12,7 +12,8 @@ ca_file = ENV.fetch('ES_CA_FILE', nil).presence transport_options = { ssl: { ca_file: ca_file } } if ca_file.present? Chewy.settings = { - host: "#{host}:#{port}", + host: host, + port: port.to_i, prefix: prefix, enabled: enabled, journal: false,