79451760

Date: 2025-02-19 14:45:55
Score: 1.5
Natty:
Report link

KREDIS VARIATION:

# config/environments/production.rb
  config.kredis.connector = lambda do |config|
    Redis.new(config.with_defaults(ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE }))
  end

derived from: https://github.com/rails/kredis?tab=readme-ov-file#configure-how-the-redis-client-is-created

if you want to manually configure the SSL: https://github.com/rails/kredis?tab=readme-ov-file#configure-how-the-redis-client-is-created

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SMAG