nginx.conf说明

user skye ttxy;  # User and Group, 用户及组别 worker_processes 1;  # worker进程数目, 可选择具体数目或者auto error_log /usr/local/var/log/nginx/error.log warn;  # 设置error日志目录, 建议设置绝对地址.  pid /usr/local/var/run/nginx.pid;  # 设置nginx.pid路径, 用户权限配置可读写, 建议绝对路径地址.  events { worker_connections 256;  # 设置每个worker进程最大连接数.  } http { include mime.types; default_type application/octet-stream; log_format main ‘$remote_addr – $remote_user [$time_local] “$request” ‘ ‘$status $body_bytes_sent “$http_referer” ‘ ‘”$http_user_agent” “$http_x_forwarded_for”‘; access_log /usr/local/var/log/nginx/access.log main;  …