Does the local localhost8081 port access port 8080 count as cross-domain? how to access port 404 after configuring nginx?

is it wrong that html,ajax at local port 8081 submits a post request to port 8080, and then nginx intercepts the url, at the beginning of demo and forwards it to localhost8080,?

server {

     listen       8081;
     server_name  localhost;

     location /demo/{
         proxy_pass  http://localhost:8080/demo/;
     }
 }
Mar.21,2021

it should be no problem to configure to write this way to see if the connection you requested by ajax is wrong

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-1b3b08c-2afa4.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-1b3b08c-2afa4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?