mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-20 15:38:19 +00:00
11 lines
266 B
Bash
11 lines
266 B
Bash
|
|
#!/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
|