Nginx reverse proxy responds to 200but no data is returned

the dist directory after the front end packages the files of vue, and then uses nginx reverse proxy. The ajax framework uses axios
nginx configuration

// node.jsjson
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;
}
// 200phpjsonp
// rewrite404
location /Webapi {
  rewrite  ^/Webapi/?(.*)$ /$1 break;
  add_header backendIP $upstream_addr;
  add_header backendCode $upstream_status;
  proxy_pass http://testadmin.w-lans.com;
}

request and response information

Mar.25,2021

print at the front of the interface to see if it has reached the interface. If it arrives and no data is returned, check whether it is cross-domain or return format problems


you check where the log printing visits, don't just look at resoponse

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ead2a8-46bb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ead2a8-46bb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?