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

时间:2021-08-24 16:49:42   收藏:0   阅读:8
location /apps {
          #  root   html;
            alias  /usr/local/nginx/html;
            index  index.html index.htm;
            try_files $uri $uri/ /index.html;
         }

 

原文:https://www.cnblogs.com/John-2011/p/15180933.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!