NGINX从1.3版本开始支持WebSocket
nginx的卸载
两种方式,一种找出安装的文件,全部删除,一般位置在/usr/local/nginx,另外一种使用命令,
sudo apt-get remove nginx nginx-common # 卸载删除除了配置文件以外的所有文件。
sudo apt-get purge nginx nginx-common # 卸载所有东东,包括删除配置文件。
sudo apt-get autoremove # 在上面命令结束后执行,主要是卸载删除Nginx的不再被使用的依赖包。
sudo apt-get remove nginx-full nginx-common #卸载删除两个主要的包。