bunkerweb/examples/reverse-proxy-multisite/setup-linux.sh

11 lines
251 B
Bash
Raw Normal View History

2022-08-17 12:01:18 +00:00
#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
2022-11-11 13:55:04 +00:00
mkdir /var/www/html/{app1.example.com,app2.example.com}
echo "hello" > /var/www/html/app1.example.com/index.html
echo "hello" > /var/www/html/app2.example.com/index.html