我希望所有请求都发送到:http://domain/xyz
被代理到
http://127.0.0.1:26991/SOME_RREFIX/xyz下面的规则没有做到这一点:
    location / {
        rewrite ^.*& /eq/$1;
        proxy_pass http://127.0.0.1:26991;
    }发布于 2012-06-23 04:49:04
尝试此配置:
location / {
    proxy_pass http://127.0.0.1:26991/eq/;
}https://stackoverflow.com/questions/11149820
复制相似问题