@@ -1,5 +1,13 @@
#!/bin/bash
if [ -f /etc/nginx/nginx.conf ] && [ -d /var/log/nginx ];then
echo 'nginx 已安装'
else
sudo apt-get install -y nginx
fi
# install docker?
rm -rf /etc/nginx/sites-available/* /etc/nginx/sites-enabled/*
cd /home/ubuntu/code/nginx-conf || return 1
The note is not visible to the blocked user.