摘要: 1、丢弃代理前缀 location ~ ^/mypath/(.*)$ { set $backend_path "/$1?$args"; proxy_pass http://127.0.0.1$backend_path; } 源请求路径:http://127.0.0.1/mypath/api/getI 阅读全文
posted @ 2024-12-28 13:10 翠微 阅读(2) 评论(0) 推荐(0) 编辑