Skip to content

Commit

Permalink
Merge pull request #3 from Pontax/fix-notice-apache_server_name
Browse files Browse the repository at this point in the history
Fix notice message for APACHE_SERVER_NAME environment variable
  • Loading branch information
smiffy6969 authored Jun 14, 2018
2 parents e7e825b + c4efe43 commit 034d353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ ! -z "$APACHE_SERVER_NAME" ]
sed -i "s/#ServerName www.example.com:80/ServerName $APACHE_SERVER_NAME/" /etc/apache2/httpd.conf
echo "Changed server name to '$APACHE_SERVER_NAME'..."
else
echo "NOTICE: Change 'ServerName' globally and hide server message by setting environment variable >> 'SERVER_NAME=your.server.name' in docker command or docker-compose file"
echo "NOTICE: Change 'ServerName' globally and hide server message by setting environment variable >> 'APACHE_SERVER_NAME=your.server.name' in docker command or docker-compose file"
fi

# PHP Config
Expand Down

0 comments on commit 034d353

Please sign in to comment.