v-for 里的key值使用,只要是作用于虚拟DOM树的渲染,提高性能
docker
docker restart nginx
docker ps 查看是否启动,在运行中
docker run --name nginx -v /Users/user/Desktop/:/etc/nginx/conf.d/ -p 127.0.0.1:8080:8080 -d daocloud.io/library/nginx:1.9.4
conf
server {
listen 8080;
charset utf-8;
server_name localhost;
# max upload size
client_max_body_size 75M; # adjust to taste
gzip on;
gzip_min_length 1k;
gzip_http_version 1.0;
gzip_disable "MSIE [1-6].";
gzip_types text/plain application/x-javascript text/css text/javascript;
location / {
proxy_pass http://172.16.1.24:8012;
}
location /api {
proxy_pass http://47.107.193.188;
}
}
fis3 release dubug -wc
linux 命令:
pwd:查看路径
ls:显示子文件