Shell script `default/nginx'

Install nginx

if command -v "apt-get" > /dev/null 2>&1; then sudo apt-get -q -y -o Dpkg::Use-Pty=0 install nginx elif command -v "dnf" > /dev/null 2>&1; then sudo dnf -q -y install nginx elif command -v "yum" > /dev/null 2>&1; then sudo yum -q -y install nginx elif command -v "pkg" > /dev/null 2>&1; then sudo pkg install -q -y nginx fi sudo ufw allow 80/tcp #web sudo ufw allow 443/tcp #web