Nginx reverse proxy session by session id each time loss problem inconsistencies request

Recently encountered a problem, springboot background deployed a project, the project is managed using redis session

The system is forwarded to the project by Nginx in springboot

But I encountered a problem accessing this project is inconsistent with every request to get the session id

Set proxy_cookie_path still can not solve the problem

Later found a number of projects in both the use of redis session caused

The other projects using redis session commented in problem solving in nginx

 

Guess you like

Origin blog.csdn.net/tianlong1569/article/details/90904138
Recommended