websocket线上 nginx配置

proxy_http_version 1.1;

proxy_set_header Upgrade $http_upgrade;

proxy_set_header Connection "upgrade";

posted @ 2020-09-22 12:38  执笔coding  阅读(392)  评论(0编辑  收藏  举报