更新 ubuntu-nginx-ruoyi.sh

This commit is contained in:
8ga 2025-01-10 14:07:00 +08:00
parent f7a5230f44
commit 32accaee2f

View File

@ -1,7 +1,5 @@
#!/bin/bash #!/bin/bash
apt-get install nginx apt-get install nginx
mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak 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/conf/nginx-ruoyi.conf /etc/nginx/nginx.conf mv /usr/local/conf/nginx-ruoyi.conf /etc/nginx/nginx.conf
nginx -t nginx -t