1: 搭建nginx
2: location部分补全如下
location / {
root /opt/apps;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
-
systemctl nginx restart
- wget -c http://ip/auto_dba.sh
1: 搭建nginx
2: location部分补全如下
location / {
root /opt/apps;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
systemctl nginx restart