[DOCKER][Redis][PLUGIN][OAuth2] Temporarily disable redis protected mode and fix permission of OAuth2 keys

This commit is contained in:
Hugo Sales 2022-10-25 22:25:44 +01:00
parent a44e64ed7a
commit 584a0d8fed
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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