Want to access the nuxt specified page through nginx configuration reverse proxy, but always jump to the home page

server {
  listen 80;
  server_name dudududu.com;

  
  location / {
      proxy_pass http://116.15.116.123:3002/sites/home-full/;
  }
  
}

I want to see the http://116.15.116.123:3002/sites/home-full/ effect,
but always return http://116.15.116.123:3002 effect,

< H2 > why < / H2 >

add

http://116.15.116.123:3002/sites/home-full/
Jun.10,2022

now the configured effect is to visit dudududu.com, and the content of http://116.15.116.123:3002/sites/home-full/ is returned

  • Nuxt.js project request cross-domain

    in the website built by nuxt.js, a request is sent in the asyncData method on the home page. The interface address is forwarded with nginx. The background log checks the returned data, but the front end does not receive the returned data. The website ca...

    Mar.14,2021
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-1bdc5d8-30b47.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-1bdc5d8-30b47.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?