this is my request code
$.ajax({
url:"/apis/h5/policy.do",
type:"post",
data:{pageSize:7},
success:function(data){
console.log(data)
}
})
this is my nginx configuration
server {
listen 8024;
server_name localhost;
-sharpcharset koi8-r;
-sharpaccess_log logs/host.access.log main;
location / {
proxy_pass http://localhost:8024;
}
location /apis {
rewrite ^.+apis/?(.*)$ /$1 break;
include uwsgi_params;
proxy_pass http://wap.zhuogan.cn/smartApp;
}
}
the browser saves as shown in the following figure