We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b81ea commit 3decd9bCopy full SHA for 3decd9b
install
@@ -462,6 +462,16 @@ function ee_update_latest()
462
fi
463
464
465
+ #Fix Redis-server security issue
466
+ #http://redis.io/topics/security
467
+ if [ -f /etc/redis/redis.conf ]; then
468
+ grep -0 -v "#" /etc/redis/redis.conf | grep 'bind' &>> /dev/null
469
+ if [ $? -ne 0 ]; then
470
+ sed -i '$ a bind 127.0.0.1' /etc/redis/redis.conf &>> /dev/null
471
+ service redis-server restart &>> /dev/null
472
+ fi
473
474
+
475
# Fix for 3.3.2 renamed nginx.conf
476
nginx -V 2>&1 &>>/dev/null
477
if [[ $? -eq 0 ]]; then
0 commit comments