In vue history mode, refreshing 404Jing Nginx configuration does not take effect?

my website uses pagoda panel + TP5 frame + VUE, and the configuration in
vue is as follows

mode: "history",
base: process.env.BASE_URL,

Pagoda panel configuration is shown in figure

clipboard.png
it is normal to click to jump now, without anchor-sharp;
, but if refreshed, it is still reported at 404.Do you have a big boss to take a look at it?

Jun.28,2022

also encountered the same problem. After tossing around all afternoon, I found that it was not modified in the Nginx configuration of the pagoda panel, but needed to be added


to the configuration file in the domain name management.

add a sentence at the end of the configuration of nginx:

error_page  404 =200 /;

all pages are handed over to the home page for processing.

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