摘要: 对于请求 192.168.1.1:80/static/a.html: Path1(location路径): /static 或 /static/(取决于配置) Path2(请求路径): a.html 如果proxy_pass以斜杠(/)结尾: Nginx认为proxy_pass指定的是一个目录。 转 阅读全文
posted @ 2025-12-25 17:02 Joeyin 阅读(2) 评论(0) 推荐(0)