We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42b7b89 commit 0c6c986Copy full SHA for 0c6c986
src/Redis.php
@@ -13,4 +13,8 @@
13
ini_set('session.save_handler','redis');
14
ini_set('session.save_path',"tcp://$url[host]:$url[port]?auth=$url[pass]");
15
}
16
+ if ($url['scheme'] == 'redis' || $url['scheme'] == 'rediss') {
17
+ define('WP_REDIS_SCHEME', 'tls');
18
+ define('WP_REDIS_STREAM_CONTEXT', ['stream' => ['verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ]]);
19
+ }
20
0 commit comments