Skip to content

Commit

Permalink
Merge pull request #4 from cron-eu/fix-httpd-extra-quotes
Browse files Browse the repository at this point in the history
Allow multiline HTTPD_EXTRA_CONF
  • Loading branch information
baschny authored May 5, 2023
2 parents 0c10754 + 506997a commit 52131b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ fi

# Add extra configuration from HTTPD_EXTRA_CONF variable
if [ ! -z "$HTTPD_EXTRA_CONF" ]; then
echo $HTTPD_EXTRA_CONF > /usr/local/apache2/conf/extra/custom.conf
echo "$HTTPD_EXTRA_CONF" > /usr/local/apache2/conf/extra/custom.conf
else
echo> /usr/local/apache2/conf/extra/custom.conf
>/usr/local/apache2/conf/extra/custom.conf
fi

# prepare vhost conf for HTTP
Expand Down

0 comments on commit 52131b1

Please sign in to comment.