nginx代理静态页面添加二级目录

 location /wash {
          #  root   html;
            alias  /home/cxq/wash-html/dist;
            index  index.html index.htm;
            try_files $uri $uri/ /wash/index.html;
         }

 

posted @ 2020-11-24 11:19  想念泡凤爪的味道  阅读(725)  评论(0编辑  收藏  举报