nginx
Vin1992
我是一名工程师
展开
-
nginx 配置中文详解
Nginx配置文件nginx.conf中文详解定义Nginx运行的用户和用户组 user www www;nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8;全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_log /usr/local/nginx/logs/error.log原创 2017-05-30 19:18:51 · 433 阅读 · 0 评论 -
nginx 启动或关闭后出现 pid 找不到或者 pid 非法 解决方案
一、pid 找不到windows 下 在 logs/新建一个nginx.pid 文件,之后运行 nginx -c /serviceroot/conf/nginx.conf 二、pid 非法运行 nginx -c /serviceroot/conf/nginx.conf原创 2017-05-31 09:38:59 · 7898 阅读 · 1 评论