7 lines
210 B
Bash
7 lines
210 B
Bash
|
#!/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
|