Skip to content

Commit 0e0c783

Browse files
authored
Merge pull request #78 from pemontto/fix-cakeresque
Replace redis host 127.0.0.1 in cake config
2 parents 066f5c8 + d00c31e commit 0e0c783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/files/entrypoint_nginx.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ENTRYPOINT_PID_FILE="/entrypoint_apache.install"
1515

1616
setup_cake_config(){
1717
sed -i "s/'host' => 'localhost'.*/'host' => '$REDIS_FQDN', \/\/ Redis server hostname/" "/var/www/MISP/app/Plugin/CakeResque/Config/config.php"
18+
sed -i "s/'host' => '127.0.0.1'.*/'host' => '$REDIS_FQDN', \/\/ Redis server hostname/" "/var/www/MISP/app/Plugin/CakeResque/Config/config.php"
1819
}
1920

2021
init_misp_config(){
@@ -186,7 +187,7 @@ if [[ "$WARNING53" == true ]]; then
186187
echo "This needs to be changed to /etc/nginx/certs."
187188
echo "See: https://github.com/coolacid/docker-misp/issues/53"
188189
echo "WARNING - WARNING - WARNING"
189-
fi
190+
fi
190191

191192
# Start NGINX
192193
nginx -g 'daemon off;'

0 commit comments

Comments
 (0)