Floor 3
Posted at: 11/3/24 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/; }
|