
nginx
文章平均质量分 91
HN_gsf
这个作者很懒,什么都没留下…
展开
-
非root权限下启动nginx失败
000@000-HP-G32-Notebook-PC:/usr/local/nginx$ ./nginx nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error.log" failed (13: Permission denied) 2016/01/12 12:31:15 [em转载 2016-01-12 12:35:39 · 4181 阅读 · 1 评论 -
nginx之第一个helloworld程序
本例子实现一个简单的helloworld程序,在客户端输入test时,网页上显示是hello world,以此来练习nginx的配置文件的书写,以及新添加模块的方法; 在nginx中新添加一个模块,需要四步,第一步就是编写模块文件module.c第二步就是编写config文件,第三步就是修改配置文件;第四步就是编译(好多文章中关于第四步叙述的并不详细) 第一步, Nginx提供了一种简单的方式原创 2016-08-22 10:33:15 · 624 阅读 · 0 评论