随笔分类 -  Nginx

摘要:在重启nginx后发生了错误,错误如下: nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:117 //说明缺少http_ssl_module模块ng 阅读全文
posted @ 2016-12-15 15:42 张发财 阅读(7721) 评论(0) 推荐(0) 编辑
摘要:今天访问公司的网站突然报错,抛出一些英文,提示看一下Nginx的error.log日志: cd /usr/local/nginx/logs/ 看到了error.log ,下一步 tail -n 20 error.log 看到了报错的内容: connect() failed (111: Connect 阅读全文
posted @ 2015-12-29 18:55 张发财 阅读(19120) 评论(0) 推荐(0) 编辑
摘要:最近新学习了一个命令curl,里面有一个参数-I可以查看到网站使用的是哪种服务器,比如: zhangxiaoliudeMacBook-Pro-2:~ zhangxiaoliu$ curl -I http://nginx.org/HTTP/1.1 200 OKServer: nginx/1.9.8Da 阅读全文
posted @ 2015-12-18 15:02 张发财 阅读(5258) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示