dev-scripts/old/server-install-nginx.sh

18 lines
210 B
Bash
Executable File

#!/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