发新话题
打印

[新鲜发布] APMServ 5.2.6 无法启动Nginx的BUG修正方法:

APMServ 5.2.6 无法启动Nginx的BUG修正方法:

查看数: 69 回复数: 4 最新回复

与好友共享:

内容简介:点击关闭

在nginx\conf\nginx.conf配置文件的http { }内,增加以下三行语句(注意去掉盘符后的路径需跟当前路径一致):Copy语言代码:client_body_temp_path/APMServ5.2.6/nginx/client_body_temp;
fastcgi_temp_pat ...
在nginx\conf\nginx.conf配置文件的http { }内,增加以下三行语句(注意去掉盘符后的路径需跟当前路径一致):
Copy
语言代码:
client_body_temp_path /APMServ5.2.6/nginx/client_body_temp;
proxy_temp_path /APMServ5.2.6/nginx/proxy_temp;
fastcgi_temp_path /APMServ5.2.6/nginx/fastcgi_temp;

-----------------------------------------------------------------------------------------------------
修正后的nginx\conf\nginx.conf配置文件全文如下:
-----------------------------------------------------------------------------------------------------
Copy
语言代码:
worker_processes 1;

error_log  /APMServ5.2.6/nginx/logs/error.log  crit;

pid        /APMServ5.2.6/nginx/logs/nginx.pid;

events {
    
worker_connections  64;
}

http {
    include       /
APMServ5.2.6/nginx/conf/mime.types;
    
default_type  application/octet-stream;

    
#charset  gb2312;
     
    
server_names_hash_bucket_size 128;
    
client_header_buffer_size 32k;
    
large_client_header_buffers 4 32k;
     
    
keepalive_timeout 60;

    
fastcgi_connect_timeout 300;
    
fastcgi_send_timeout 300;
    
fastcgi_read_timeout 300;
    
fastcgi_buffer_size 64k;
    
fastcgi_buffers 4 64k;
    
fastcgi_busy_buffers_size 128k;
    
fastcgi_temp_file_write_size 128k;
    
client_body_temp_path /APMServ5.2.6/nginx/client_body_temp;
    
proxy_temp_path /APMServ5.2.6/nginx/proxy_temp;
    
fastcgi_temp_path /APMServ5.2.6/nginx/fastcgi_temp;

    
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;

    
server {
        
listen       85;
        
server_name  localhost;
        
index index.html index.htm index.php;
        
root   /APMServ5.2.6/www/htdocs;
        
autoindex on;
        
        
location ~ .*.(php|php5)?$ {
            
fastcgi_pass   127.0.0.1:9000;
            include /
APMServ5.2.6/nginx/conf/fastcgi_params;
        }

        
log_format  access  '$remote_addr - $remote_user [$time_local] "$request" '
             '$status $body_bytes_sent "$http_referer" '
             '"$http_user_agent" $http_x_forwarded_for'
;
        
access_log  /APMServ5.2.6/nginx/logs/access.log  access;
    }
}


你现在是游客:请登录或者注册

搜索更多相关主题的帖子: BUG APMServ Nginx

Rojo google reader netvibes 哪吒 抓虾 my yahoo Feedsky FEED 订阅
作者: oeee 主题: APMServ 5.2.0 2006年12月12日发布 时间: 2007-7-7 21:26
作者: oeee 主题: APMServ5.2.0开启Discuz 5.0论坛Rewrite(伪静态 ... 时间: 2007-7-17 00:14
作者: Yuan 主题: 《APMServ 5.2.0》2006年12月12日发布 时间: 2007-10-18 08:24
作者: Yuan 主题: APMserv5.20简明使用教程. 时间: 2007-12-30 16:14
作者: Yuan 主题: APMserv作者张晏将年后更新产品 时间: 2008-1-16 22:41

TOP

最新网站秀: (还等什么?马上加入我们吧! 快速加入

 华中师范大  盱眙吧1  南邮风云   夜族网游公  在日中华情  生活大家坛  智商250  塞班智能手  论剑社区  潮州论坛  灵下异度  封开家园 
用户正在观看: 热门标签
美女人体艺术绝
杀破狼
樱之炫视频教程——五
雨儿短裙热舞
情圣【国语中字】DV
作品源自网络,请支持正版


∑如果你的女朋友有这


如何接吻爆笑电影


如何让一个女人抓狂


人类进化历程
跟我一起相处五年的男友就因为一个软件,和我分手了。我从来没想过我们之间的结局会因为一个软件而终结,但事情就是这样真真实实的发生了。

我跟男友认识五年了,他长相很一般,家里也没什么钱。大学我们就认识了,还相处过一年的时间,我的第一次也献给了他,当时还 限制字节输出

TOP

发新话题