在nginx的配置文件中,找到http模块,然后添加配置:
map $http_upgrade $connection_upgrade { default upgrade; '' close; }
取消
Δ