【发布时间】:2014-02-08 19:24:05
【问题描述】:
我需要 tornado-sockJS Nginx 配置我在网上找不到任何可以帮助我的文档?
无法使用 sockJS 配置 tornado-nginx ..
【问题讨论】:
我需要 tornado-sockJS Nginx 配置我在网上找不到任何可以帮助我的文档?
无法使用 sockJS 配置 tornado-nginx ..
【问题讨论】:
我在我的博客应用程序中使用 SockJS-Tornado。我创建了一个 SockJSRouter in my code here。我的 SockJSConnection 子类 is defined in my code here 和 here is my nginx.conf。我的 nginx.conf 的相关行如下:
location /blog/sock_js {
proxy_pass http://motor_blog;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
【讨论】: