报错如下

The request was rejected because the URL was not normalized.

解决办法

NGINX反代的时候,反代请求路径下的/删除掉,例如:

location /automations {
   proxy_pass http://10.68.32.51:8080/devops;
}

proxy_pass后面url结尾可不带/斜杠,重载NGINX后 可正常访问

Last modification:June 16th, 2020 at 10:31 pm