首页 > 技术文章 > nginx代理静态页面添加二级目录

pretttyboy 2020-11-24 11:19 原文

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

 

推荐阅读