Spring MVC + websocket + sockjs + stomp + Nginx

发布于 2017-02-06 / Java / 0条评论 / 557浏览

源码地址:https://github.com/deng-hb/running

nginx 反向代理需要加上

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
评论
站长统计