Update 'CoreModules/nginx/conf.sh'
This commit is contained in:
@@ -22,8 +22,8 @@ sed -i -e 's/DOMAINname/'$hostname'/' /etc/nginx/sites-available/Backend
|
|||||||
ln -s /etc/nginx/sites-available/Backend /etc/nginx/sites-enabled/
|
ln -s /etc/nginx/sites-available/Backend /etc/nginx/sites-enabled/
|
||||||
|
|
||||||
mkdir -p /opt/toggle
|
mkdir -p /opt/toggle
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/Modules/BackendToggle-Scripts/toggle-Netdata_NGINX.sh -O /opt/toggle/toggle-Netdata.sh
|
wget -q -t7 "$repo"/raw/branch/"$branch"/Scripts/toggles/toggle-Netdata_NGINX.sh -O /opt/toggle/toggle-Netdata.sh
|
||||||
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/Modules/BackendToggle-Scripts/toggle-PhpMyAdmin_NGINX.sh -O /opt/toggle/toggle-PhpMyAdmin.sh
|
wget -q -t7 "$repo"/raw/branch/"$branch"/Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh -O /opt/toggle/toggle-PhpMyAdmin.sh
|
||||||
|
|
||||||
# custom Welcome page
|
# custom Welcome page
|
||||||
echo "<html><head></head><body>$webserv is functioning normally</body></html>" > /var/www/html/index.html
|
echo "<html><head></head><body>$webserv is functioning normally</body></html>" > /var/www/html/index.html
|
||||||
|
|||||||
Reference in New Issue
Block a user