mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-06 14:58:37 +00:00
10 lines
251 B
Bash
Executable file
10 lines
251 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $(id -u) -ne 0 ] ; then
|
|
echo "❌ Run me as root"
|
|
exit 1
|
|
fi
|
|
|
|
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
|