WDlinux官方论坛's Archiver

shufujia 发表于 2012-4-1 15:45

重启之后nginx启动错误 求解答

[attach]513[/attach]

# nginx conf conf/nginx.conf
# Created by [url]http://www.wdlinux.cn[/url]
# Last Updated 2010.06.01
user  www www;
worker_processes 4;worker_cpu_affinity 0001 0010 0100 1000;
error_log  logs/error.log  notice;
pid        logs/nginx.pid;
worker_rlimit_nofile 51200;
events {
    use epoll;
    worker_connections  51200;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    server_names_hash_bucket_size 128;
    client_header_buffer_size 32k;
  large_client_header_buffers 4 128k;
  fastcgi_buffers 4 128k  client_max_body_size 8m;

    sendfile        on;
    tcp_nopush     on;

    keepalive_timeout  300;
  send_timeout 60;  tcp_nodelay on;

    gzip  on;
    gzip_min_length  1k;
    gzip_buffers     4 16k;
    gzip_http_version 1.0;
    gzip_comp_level 5;
    gzip_types       text/plain application/x-javascript text/css application/xml text/html;
    gzip_vary on;

   fastcgi_intercept_errors on;

admin 发表于 2012-4-1 17:02

看21行是什么?加了什么检查下或删除再重起

shufujia 发表于 2012-4-1 17:35

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=5568&ptid=1749]2#[/url] [i]admin[/i] [/b]

[b][attach]516[/attach][/b]
[b]老大 你帮我看下把 谢谢了 我实在搞不定了
[/b]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.