[DOCKER][Redis][PLUGIN][OAuth2] Temporarily disable redis protected mode and fix permission of OAuth2 keys
This commit is contained in:
parent
a44e64ed7a
commit
584a0d8fed
|
@ -84,7 +84,7 @@ bind redis 127.0.0.1
|
|||
# you are sure you want clients from other hosts to connect to Redis
|
||||
# even if no authentication is configured, nor a specific set of interfaces
|
||||
# are explicitly listed using the "bind" directive.
|
||||
protected-mode yes
|
||||
protected-mode no
|
||||
|
||||
# Accept connections on the specified port, default is 6379 (IANA #815344).
|
||||
# If port 0 is specified Redis will not listen on a TCP socket.
|
||||
|
@ -1874,4 +1874,4 @@ jemalloc-bg-thread yes
|
|||
# by setting the following config which takes a space delimited list of warnings
|
||||
# to suppress
|
||||
#
|
||||
# ignore-warnings ARM64-COW-BUG
|
||||
# ignore-warnings ARM64-COW-BUG
|
||||
|
|
|
@ -9,6 +9,7 @@ if [ ! -f private.key ]; then
|
|||
openssl rsa -in private.key -pubout -out public.key
|
||||
|
||||
chown www-data:www-data private.key public.key
|
||||
chmod 600 private.key public.key
|
||||
else
|
||||
echo "Keys exist, nothing to do"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user