The location/API {
Proxy_pass http://localhost:8000/;
proxy_set_header Host $host;
Proxy_set_header X - Real - Ip $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Backend application starts, login, query, delete also normal, but, save, update time is not normal,
Through a browser track found agent didn't work, send a request to the backend or looks like this:
/API/basicStructureOperation/save
As a result, the UI program error,
But, curiously, the follow-up inspection found that the above request was normal execution background (refresh, found by the query, because the query can normal),
Masters, who can tell?
CodePudding user response:
Preliminary found the crux of the problem, is the reverse proxy nginx configuration is wrong, more than 1: proxy_set_header Host $Host;Get rid of it,