the front-end project is proxied through nginx. It is always reported to 500 when requesting the backend server interface, but you can request the API directly using the domain name. It"s like going through two nginx proxies, and now I don"t know how to configure the nginx of the back-end server.
it seems that every request from the front end will be redirected to access the interface through ip, but the server can only access the interface through the domain name.
for example, if the address of the redirected interface in the frontend is 10.20.30.40 username login, it will report a 500 error and can be accessed normally through the domain name test.api.com/user/login.
I don"t know if my background server is not set up to access the interface directly through ip.