# 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