fix treatment of config values with default of null and add php sodium

This commit is contained in:
throwaway 2024-04-24 16:11:49 -07:00
parent 81dc93802c
commit 3a220d38b5
3 changed files with 13 additions and 11 deletions

View file

@ -9,7 +9,7 @@ FOURGET_PROTO="${FOURGET_PROTO#\"}"
FOURGET_PROTO=`echo $FOURGET_PROTO | awk '{print tolower($0)}'`
if [ "$FOURGET_PROTO" = "https" ] || [ -f /etc/4get/certs/fullchain.pem ] || [ -f /etc/4get/certs/privkey.pem ]; then
if [ "$FOURGET_PROTO" = "https" ]; then
echo "Using https configuration"
cp /etc/apache2/https.conf /etc/apache2/httpd.conf
else