arvin
arvin

``` location /sydney/ChatHub { proxy_pass http://127.0.0.1:8080; proxy_http_version 1.1; # proxy_set_header Upgrade $http_upgrade; if ($http_upgrade != "websocket") { set $http_connection ""; } # proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto...
``` # proxy_set_header Upgrade `$http_upgrade;` # proxy_set_header Connection $connection_upgrade; # 现有nginx配置不了这个,就用如下替换了 if ($http_upgrade != "websocket") { set $http_connection ""; } ```
> 我的nginx 也就那些配置,看不出啥问题 尝试用了apache做反向代理,一样的,我测试了一下,出现问题时,网络也没有请求,是不是在提交问题前前端有什么逻辑判断?
> 同样的问题,点击新主题后,必须要重置才能用,不然就报错 突发奇想,开无痕模式后,没问题了,你可以尝试下