摘要: 坑点 ginx location 正则 alias 和 try_files, 存在排斥情况,不能一起使用,要使用root。 案例如下 # 老版本门户前端 location ^~ /assets { alias /usr/share/nginx/homepage_test/assets/; # 老版本 阅读全文
posted @ 2023-12-11 17:59 bhxuwei 阅读(18) 评论(0) 推荐(0) 编辑