Files
marshal/commands/nginx/nginx-setup.sh
2021-07-18 14:29:26 -06:00

17 lines
281 B
Bash

# Example Usage
# ssh user@host "sudo -n bash -s" -- < ./commands/nginx/nginx-setup.sh
if [ "$1" == "-h" ]; then
echo "Usage:"
echo " ./nginx-setup.sh"
exit 0
fi
export DEBIAN_FRONTEND="noninteractive"
apt-get update
apt-get dist-upgrade
apt-get -y install nginx
exit 0