Nginx responded to 200 after reverse proxy but did not return data

  question

The front end packs the dist directory after vue files, and then uses the nginx reverse proxy, while Asynchronous JavaScript And Xml uses axios
Nginx configuration

//It is normal to access the interface here. The background interface is written by myself in node.js and returns json format.
 location /style {
 proxy_pass   http://localhost:8888;
 proxy_set_header  Host       $host;
 proxy_set_header  X-Real-IP  $remote_addr;
 proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
 bracket
//Accessing the interface here will return 200, but there is no response body. The background is written in php and returns to jsonp with Padding format.
 //Removing the rewrite (visual novel) below will display 404
 location /Webapi {
 rewrite  ^/Webapi/?  (.*)$ /$1 break;
 add_header backendIP $upstream_addr;
 add_header backendCode $upstream_status;
 proxy_pass  http://testadmin.w-lans.com ;
 bracket

Request and response information
图片描述

图片描述

First print it at the front of the interface to see if the interface has been reached. If there is no data to return, check whether there is any cross-domain or return format problem.