bunkerweb/examples/reverse-proxy-multisite/setup-linux.sh
2022-08-17 14:01:18 +02:00

10 lines
266 B
Bash
Executable file

#!/bin/bash
if [ $(id -u) -ne 0 ] ; then
echo "❌ Run me as root"
exit 1
fi
mkdir /opt/bunkerweb/www/{app1.example.com,app2.example.com}
echo "hello" > /opt/bunkerweb/www/app1.example.com/index.html
echo "hello" > /opt/bunkerweb/www/app2.example.com/index.html