mirror of https://github.com/MISP/misp-docker
Merge pull request #110 from ckane/fix-baseurl
Fix bug in patching the MISP.baseurl from environment
commit
ec74503c97
|
@ -100,7 +100,7 @@ if [ -r /.firstboot.tmp ]; then
|
||||||
echo "No base URL defined, don't forget to define it manually!"
|
echo "No base URL defined, don't forget to define it manually!"
|
||||||
else
|
else
|
||||||
echo "Fixing the MISP base URL ($MISP_BASEURL) ..."
|
echo "Fixing the MISP base URL ($MISP_BASEURL) ..."
|
||||||
sed -i "s/'baseurl' => '',/'baseurl' => '$MISP_BASEURL',/g" /var/www/MISP/app/Config/config.php
|
sed -i "s@'baseurl'[\t ]*=>[\t ]*'',@'baseurl' => '$MISP_BASEURL',@g" /var/www/MISP/app/Config/config.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate the admin user PGP key
|
# Generate the admin user PGP key
|
||||||
|
|
Loading…
Reference in New Issue