environment = environ[‘wsgi.websocket‘] KeyError: ‘wsgi.websocket‘

   location / {
                   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                   proxy_set_header Host $http_host;

                   proxy_redirect off;

                   proxy_pass http://127.0.0.1:8082/;
                   proxy_http_version 1.1;
                   proxy_set_header Upgrade $http_upgrade;
                   proxy_set_header Connection "upgrade";
                    }

environment = environ[‘wsgi.websocket‘] KeyError: ‘wsgi.websocket‘_第1张图片
Key error: wsgi.websocket

你可能感兴趣的:(websocket,网络协议,网络)