添加 ubuntu-nginx-ruoyi.sh
This commit is contained in:
parent
f185ef67ef
commit
10461fc931
7
ubuntu-nginx-ruoyi.sh
Normal file
7
ubuntu-nginx-ruoyi.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user