2018年4月14日

nginx入门(2):配置文档结构

摘要: nginx官方文档地址:http://nginx.org/en/docs/beginners_guide.html#conf_structure nginx多个模块组成,模块由配置文档中的指令来管理。指令可以分为基本指令(simple directives)和块指令(block directives 阅读全文

posted @ 2018-04-14 22:27 liss_hitsz 阅读(92) 评论(0) 推荐(0) 编辑

nginx入门(1):开启,关闭,重新加载配置文件

摘要: 官方文档地址:http://nginx.org/en/docs/beginners_guide.html#control 开启 官网上写,运行nginx的可执行文件即可开启nginx(但是要注意执行该指令的用户身份)。nginx一旦开启,可以通过可执行文件加-s参数来对其进行控制。 nginx -s 阅读全文

posted @ 2018-04-14 22:03 liss_hitsz 阅读(1216) 评论(0) 推荐(0) 编辑

导航