代码拉取完成,页面将自动刷新
同步操作将从 poempro/openresty-websocket 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
user nginx nginx;
pid tmp/nginx.pid;
worker_processes 2;
worker_cpu_affinity 01 10;
#指定的值最大可以打开的文件描述符,这个过程。
worker_rlimit_nofile 102400;
events {
use epoll;
worker_connections 10240;
}
http
{
include mime.types;
default_type text/html;
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 50m;
sendfile on;
tcp_nopush on;
keepalive_timeout 60;
tcp_nodelay on;
fastcgi_connect_timeout 30;
fastcgi_send_timeout 30;
fastcgi_read_timeout 30;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 256k;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 2;
gzip_types text/plain application/x-javascript text/css application/xml;
gzip_vary on;
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
lua_socket_log_errors off;
lua_check_client_abort on;
lua_shared_dict channels 10m;
server {
listen 80;
server_name 192.168.137.111;
index index.php index.html index.htm;
root /data/cluster/web/src/main/;
location /test/websocket {
content_by_lua_file /data/cluster/web/src/main/websocket.lua;
}
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|ico)$ {
# rewrite ~*\.(gif|jpg|jpeg|png|bmp|swf|ico)$ /st/$1 last;
expires 30d;
}
location ~ .*\.(js|css)?$ {
expires 12h;
}
access_log '/data/log/luastar_access.log';
error_log '/data/log/luastar_error.log' info;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。