From 10461fc9317e5502cb00d9b2d2fc47e91ef77a14 Mon Sep 17 00:00:00 2001 From: 8ga Date: Fri, 10 Jan 2025 13:59:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20ubuntu-nginx-ruoyi.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ubuntu-nginx-ruoyi.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ubuntu-nginx-ruoyi.sh 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