解决nginx中proxy_pass到tomcat的session丢失问题
2017-03-31 16:01
736 查看
转载链接:http://blog.csdn.net/yakson/article/details/46683285
location / {
proxy_pass http://www.xxx.com:8080/echo/web/index;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header From www.xxx.com;
proxy_cookie_path /echo/ /;
proxy_set_header Cookie $http_cookie;
}
location / {
proxy_pass http://www.xxx.com:8080/echo/web/index;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header From www.xxx.com;
proxy_cookie_path /echo/ /;
proxy_set_header Cookie $http_cookie;
}
相关文章推荐
- 解决nginx中proxy_pass到tomcat的session丢失问题
- 解决nginx中proxy_pass到tomcat的session丢失问题:补充
- 解决nginx中proxy_pass到tomcat的session丢失问题
- 解决nginx中proxy_pass到tomcat的session丢失问题
- 解决nginx使用proxy_pass反向代理时,session丢失的问题
- nginx反向代理(proxy_pass)tomcat的过程中,session失效的问题解决
- 解决nginx使用proxy_pass反向代理时,session丢失的问题
- nginx反向代理(proxy_pass)tomcat的过程中,session失效的问题解决
- nginx反向代理(proxy_pass)tomcat的过程中,session失效的问题解决
- nginx中proxy_pass到tomcat的session丢失
- 解决nginx使用proxy_pass反向代理时,cookie丢失的问题
- nginx反向代理(proxy_pass)tomcat导致session失效的问题解决
- 解决nginx使用proxy_pass反向代理时,cookie丢失的问题
- nginx反向代理(proxy_pass)tomcat的过程中,session失效的问题解决
- nginx使用proxy_pass反向代理时,session丢失的问题
- nginx使用proxy_pass反向代理时cookie丢失问题解决方案
- nginx + tomcat 导致session丢失的问题
- nginx + tomcat 导致session丢失的问题
- Nginx+tomcat+memcached解决集群的session问题
- nginx + tomcat 导致session丢失的问题