3樓
巨大八爪鱼
2024-11-3 19:48
参考下面的文章 https://serverfault.com/questions/459369/disabling-url-decoding-in-nginx-proxy 解决了。原因是nginx里面proxy_pass不能以/结尾。 正确的写法: location /foo { proxy_pass http://localhost:8080; } 错误的写法: location /foo { proxy_pass http://localhost:8080/; }
|