APMServ 5.2.6 Nginx无法启动BUG修正方法
APMServ 5.2.6 无法启动Nginx的BUG修正方法:
在nginx\conf\nginx.conf配置文件的http { }内,增加以下三行语句(注意去掉盘符后的路径需跟当前路径一致):
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配置文件全文如下:
-----------------------------------------------------------------------------------------------------
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;
}
}
相关文章

职场人慌了! DeepSeek配合Mermaid自动绘图的技巧
DeepSeek这玩意儿,配合Mermaid,自动生成甘特图,这速度,这效率,简直了神奇了,下面我们就来看看用法2025-03-05
今天汇总15个很值得收藏的DeepSeek 提示词,包含职场打工人必备,自媒体爆款创作,学生党逆袭,个人成长开挂等等全方面2025-03-04
如何在iPhone上部署DeepSeek-R1? DeepSeek-R1在手机上部署全攻略
你以为只在大机器上跑的模型,其实在手机上也能玩得转!为了体验一下国产模型的魅力,我在苹果手机上部署了DeepSeek-R1 1.5B版,详细步骤如下2025-03-01
我们之前分享了很多DeepSeek安装及本地部署教程,今天我们来看看怎么驯化DeepSeek为自己服务,下面我们就来看看DeepSeek 7天指导手册2025-02-21
手机端本地部署 Deepseek +桌面端 Deepseek 搭建知识库指南
关于 Deepseek,这段时间也传来不少新闻,本文将介绍如何在安卓手机和桌面设备上分别部署本地运行的 Deepseek R1 模型,并搭建知识库,详细如下文2025-02-21
DeepSeek-R1 与 AnythingLLM 安装部署本地知识库详细教程
DeepSeek R1是目前最火的大模型,近来有很多朋友问怎么搭建DeepSeek 本地知识库,在这里分享一种使用DeepSeek + AnythingLLM快速搭建本地知识库的方法,完全本地化,懒人必2025-02-20
DeepSeek怎么获取官方API? 一文教会你获取DeepSeek官方API技巧
想要体验DeepSeek,该怎么货期官方API呢?下面我们就来看看获取DeepSeek官方API的详细图文教程2025-02-12
DeepSeek怎么一秒生成工作表目录? DeepSeek办公自动化的技巧
面对日益增长的数据量和复杂多变的业务需求,传统的Excel操作方式在效率和灵活性上逐渐显露出不足,如果接入DeepSeek就可以补足缺陷,详细请看下文介绍2025-02-12
DeepSeek入门必备技巧与隐藏功能! DeepSeek新手使用指南
几乎一夜之间,所有人都在关注DeepSeek,今天就来聊一聊DeepSeek,从什么是DeepSeek开始,到火爆原因,怎么下载使用,以及使用场合和隐藏功能分享,详细如下2025-02-12
DeepSeek卡顿延迟问题怎么解决? 流畅使用DeepSeek的方法大全
由于deepseek人气越来越高,让越来越多人开始使用deepseek,另一方面由于前阵子登录热搜的外网网络攻击,导致用户在使用时常常还没说几句话,就出现服务器繁忙字样,或使用2025-02-12





最新评论