diff --git a/ubuntu-nginx-ruoyi.sh b/ubuntu-nginx-ruoyi.sh new file mode 100644 index 0000000..803b5d2 --- /dev/null +++ b/ubuntu-nginx-ruoyi.sh @@ -0,0 +1,7 @@ +#!/bin/bash +apt-get install nginx +mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak +cd /usr/local +git clone http://117.50.220.191:8418/doc/conf.git +mv /usr/local/nginx-ruoyi.conf /etc/nginx/nginx.conf +nginx -t \ No newline at end of file