
nginx
network_dream
这个作者很懒,什么都没留下…
展开
-
nginx: [emerg] unknown log format "access" in错误解决方法
在nginx.conf配置文件中 include vhost/*.conf; 前面添加log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_...原创 2018-08-07 21:23:22 · 6005 阅读 · 0 评论 -
Nginx的https配置记录以及http强制跳转到https的方法梳理
一、Nginx安装(略)安装的时候需要注意加上 --with-http_ssl_module,因为http_ssl_module不属于Nginx的基本模块。Nginx安装方法:# ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl...转载 2018-10-19 18:19:22 · 1000 阅读 · 0 评论 -
nginx报错"worker_processes" directive is duplicate
查看nginx的错误日志error.log报错信息:“worker_processes”指令重复在nginx.conf发现nginx.conf配置出现了两份。不知道什么原因生成的两份。解决:删除一份,重启成功。...原创 2019-01-23 11:14:34 · 14499 阅读 · 2 评论 -
"D:/WWW/favicon.ico" failed (2: The system cannot find the file specified)
现象:本地服务无法启动。浏览器器一直转圈圈。报错信息:[error] 9652#7356: *5 CreateFile() "D:/WWW/favicon.ico" failed (2: The system cannot find the file specified), client: 127.0.0.1, server: localhost, request: "GET /favic...原创 2019-04-30 17:03:22 · 12752 阅读 · 0 评论