Commit 6a543e35 authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated log statements.

parent dab27db6
......@@ -125,7 +125,7 @@ echo -e "Configuring the Better web site…\n"
# Create the git system account and clone the data for site repository.
#
echo -e "Setting up the git account…"
echo -e "Setting up the git account…\n"
# Create the git account
sudo adduser --system --shell /bin/bash --group --disabled-password --home /home/git git
......@@ -165,18 +165,20 @@ sudo -u git git clone /home/git/data.git /home/git/site
# Set up nginx
#
echo -e "Setting up nginx…"
echo -e "Setting up nginx…\n"
# Install nginx
sudo apt-get update
sudo apt-get -y install nginx
echo -e " Creating the http & https site settings…"
echo -e " * Creating the http & https site settings templates…"
# Copy over the setting templates.
sudo cp ./nginx/http.conf.template /etc/nginx/sites-available/http.conf
sudo cp ./nginx/https.conf.template /etc/nginx/sites-available/https.conf
echo -e " * Carrying out site settings template substitutions…"
# Carry out template substitutions.
sudo sed -i "s/{SERVER_NAMES}/${serverNames}/g" /etc/nginx/sites-available/http.conf
sudo sed -i "s/{SERVER_NAMES}/${serverNames}/g" /etc/nginx/sites-available/https.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment