The request was rejected because the URL contained a potentially malicious String "//"
一般是因为nginx配置代理是多拼写了个/

location /api {
proxy_pass  http://127.0.0.1:8080/;
}
这样会拼成http://127.0.0.1:8080//api
改成
location /api/ {
proxy_pass  http://127.0.0.1:8080/;
}