From 519ff5dd1a46c5256c0e530bfae3f19210dba5ea Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 9 Jun 2018 15:17:44 +0200 Subject: [PATCH] min update --- install-scripts/reverse-proxy | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install-scripts/reverse-proxy b/install-scripts/reverse-proxy index b08e564..0650c1a 100644 --- a/install-scripts/reverse-proxy +++ b/install-scripts/reverse-proxy @@ -25,6 +25,8 @@ install_nginx(){ exit 1; fi; + # copy in /etc/hosts + echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null; # (3) Copy config # echo "1- build configuration" @@ -54,6 +56,8 @@ install_nginx(){ } install_httpd(){ echo -e "\e[33m>\e[0m httpd installer \e[33m<\e[0m\n" + echo "no installer for now...\n" + exit 1 } install_apache(){ echo -e "\e[33m>\e[0m apache installer \e[33m<\e[0m\n" @@ -79,6 +83,8 @@ install_apache(){ exit 1; fi; + # copy in /etc/hosts + echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null; # (3) Copy config # echo "1- build configuration" @@ -185,3 +191,4 @@ else fi; +exit 0 \ No newline at end of file