mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-24 03:28:54 +00:00
Enable password protection for Redis
This commit is contained in:
34 files changed
+111
-63
No files matched your search
@@ -4,6 +4,7 @@ ini_set('error_reporting', 0);
|
||||
|
||||
$redis = new Redis();
|
||||
$redis->connect('redis-mailcow', 6379);
|
||||
$redis->auth(getenv("REDISPASS"));
|
||||
|
||||
function in_net($addr, $net) {
|
||||
$net = explode('/', $net);
|
||||
|
||||
Reference in new issue
Block a user