浏览 1.6k
使用配置方式:
{nginx_dir}/configure --add-module={module_dir}/ngx_http_websocket_module && make && make install
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
server {
listen 80;
location / {
root html/websocket;
index index.html index.htm;
}
location /ws {
websocket;
}
}
}
按点赞数排序
按时间排序