The problem of configuring Nginx to access 404 after enabling History in Vue-Router

Vue project is deployed under www.xxxxxx.com/cms_auth/
and then, due to Tencent authentication callback, it will be transferred to www.xxxxxx.com/cms_auth/auth_xcx_portal after authentication.
Vue-Router has been configured with auth_xcx_portal, which means there is no problem to access auth_xcx_portal in the address bar after entering cms_auth.
but if you jump back to cms_auth/auth_back from outside, you will report 404. Could you tell me how to configure it?

Nginx:

clipboard.png

Vue:

clipboard.png

Mar.12,2021
Menu