18 lines
210 B
Bash
18 lines
210 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$1" ] ; then
|
||
|
echo "error: must specify configuration file to use"
|
||
|
exit 5
|
||
|
fi
|
||
|
|
||
|
. ./"$1"
|
||
|
|
||
|
ssh -T $src_ssh << EOSSH
|
||
|
|
||
|
ufw allow http && ufw allow https
|
||
|
|
||
|
echo "TODO install nginx"
|
||
|
exit 1
|
||
|
|
||
|
EOSSH
|