Conflict with nuxt routing after using nginx reverse proxy

1, cause

use nginx as a reverse proxy request http://xxx.com/pro/class-mode
is actually forwarded to the real address http://xxx.com/pro/class/model

where pro, class, and mode are all dynamic routes.

2, there is a problem

nginx forwarding is normal, but there is a problem.
because class is a dynamic route and can match the class-mode field, it is normal at the beginning. When the route is initialized, the content will change, and the content comes from the http://xxx.com/pro/class/ template.
Thank you for your answers.

Oct.22,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-1e44fa3-4c202.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-1e44fa3-4c202.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?