```ruby
if Rails.env.production?
  Sidekiq.configure_server do |config|
    config.redis = {
      url: "rediss://#{Rails.configuration.redis_url}:6379",
      network_timeout: 5,
      password: Rails.configuration.redis_password
    }
  end

  Sidekiq.configure_client do |config|
    config.redis = {
      url: "rediss://#{Rails.configuration.redis_url}:6379",
      network_timeout: 5,
      password: Rails.configuration.redis_password
    }
  end
end
```

Update Rails config for Redis URL to remove hardcoded port num
user
```ruby
if Rails.env.production?
  Sidekiq.configure_server do |config|
    config.redis = {
      url: Rails.configuration.redis_url.to_s,
      network_timeout: 5,
      password: Rails.configuration.redis_password
    }
  end

  Sidekiq.configure_client do |config|
    config.redis = {
      url: Rails.configuration.redis_url.to_s,
      network_timeout: 5,
      password: Rails.configuration.redis_password
    }
  end
end
```
assistant