|
|
@ -398,6 +398,8 @@ fi |
|
|
|
sudo cp resources/base.nginx.conf /etc/nginx/nginx.conf |
|
|
|
sudo cp resources/base.nginx.conf /etc/nginx/nginx.conf |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo mkdir -p /etc/nginx/logs |
|
|
|
|
|
|
|
|
|
|
|
AO_NGINX_CONF=/etc/nginx/sites-available/ao |
|
|
|
AO_NGINX_CONF=/etc/nginx/sites-available/ao |
|
|
|
sudo cp resources/ao.nginx.conf $AO_NGINX_CONF |
|
|
|
sudo cp resources/ao.nginx.conf $AO_NGINX_CONF |
|
|
|
|
|
|
|
|
|
|
@ -413,7 +415,6 @@ fi |
|
|
|
sudo ln -s /etc/nginx/sites-available/ao /etc/nginx/sites-enabled/ |
|
|
|
sudo ln -s /etc/nginx/sites-available/ao /etc/nginx/sites-enabled/ |
|
|
|
fi |
|
|
|
fi |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
sudo systemctl reload nginx |
|
|
|
|
|
|
|
echo "Excellent! We've configured $AO_NGINX_CONF to serve your AO from $domain" |
|
|
|
echo "Excellent! We've configured $AO_NGINX_CONF to serve your AO from $domain" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
|
|
|
|
|
|
|
@ -567,8 +568,6 @@ if [[ $OPEN -eq 0 ]]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# ------------------- Step 9 - Health Check ------------------- |
|
|
|
# ------------------- Step 9 - Health Check ------------------- |
|
|
|
echo '' |
|
|
|
|
|
|
|
echo '' |
|
|
|
|
|
|
|
echo '*********************************************************' |
|
|
|
echo '*********************************************************' |
|
|
|
echo -e "* ${BOLD}Version Information${RESET} *" |
|
|
|
echo -e "* ${BOLD}Version Information${RESET} *" |
|
|
|
echo '*********************************************************' |
|
|
|
echo '*********************************************************' |
|
|
@ -610,5 +609,6 @@ fi |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo -e "$BOLD\nOkay, well that's everything!${RESET}\n\nAs long as everything worked properly, \ |
|
|
|
echo -e "$BOLD\nOkay, well that's everything!${RESET}\n\nAs long as everything worked properly, \ |
|
|
|
you should be ready to continue your journey\ntowards autonomy by opening ${BLUE}$ACCESS_POINT${RESET} in your browser." |
|
|
|
you should be ready to continue your journey\ntowards autonomy by opening ${BLUE}$ACCESS_POINT${RESET} in your browser." |
|
|
|
|
|
|
|
echo -e "The default login is ${BLUE}dctrl/dctrl${RESET}, have fun!" |
|
|
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|