1locations简介 location的主要作用就是根据用户请求的uri来执行不同的应用。 2location的语法 location [=|~|~*|^~|@] uri{...........} 官方地址:http://nginx.org/en/docs/http/ngx_http_core_ ...
分类:
其他好文 时间:
2016-10-14 23:02:30
阅读次数:
261
ngx_http_core_module模块在处理请求时,会有大量的变量,这些变量可以通过访问日志来记录下来,也可以用于其它nginx模块。在我们对请求做策略如改写等等都会使用到一些变量,顺便对ngx_http_core_module模块提供的变量总结了下,如下所示: 如需转载请注明出处:http: ...
分类:
Web程序 时间:
2016-09-04 17:28:21
阅读次数:
206
The HTTP Core module introduces a large set of variables that you can use within the value of directives. Be careful though, as only a handful of dire ...
分类:
Web程序 时间:
2016-08-06 21:57:23
阅读次数:
246
Apache的基本配置 1.监听套接字[ip : port] 2.实现持久连接(keep alive) 3.MPM模块 命令行中执行 core.c : 核心模块 prefork.c : prefrok模块 http_core.c: http核心模块 mod_so.c : 支持动态DSO机制模块 注: ...
分类:
Web程序 时间:
2016-07-21 00:23:39
阅读次数:
236
Nginx's architecture The HTTP core module The server Logging Finding files Name resolution Client interaction Using limits to prevent abuse Restrictin ...
分类:
Web程序 时间:
2016-07-10 16:39:00
阅读次数:
192
nginx内置变量说明1.内部变量说明内置变量存放在ngx_http_core_module模块中,变量的命名方式和apache服务器变量是一致的。总而言之,这些变量代表着客户端请求头的内容,例如$http_user_agent,$http_cookie,等等。下面是2.nginx支持的所有内置变量:nginx内置变量
$arg_name
..
分类:
其他好文 时间:
2016-06-24 20:39:08
阅读次数:
214
一,查看工作模式 /usr/sbin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c 如果出现prefork.c,表示apache工作在prefork模式下 二,prefork调优 ServerLimit 300 ...
分类:
Web程序 时间:
2016-04-23 10:19:18
阅读次数:
152
一、Nginx概述1.Nginx简介解决基于进程模型产生的C10k问题,请求时即使无状态连接如web服务都无法达到并发响应量级一万现状。2006年俄罗斯编写。全称为engineX,缩减合并称为nginx。官方站点:http://nginx.org/。2013年发出企业版NginxPlus二次发行版:tengine,OpenResty……2..
分类:
Web程序 时间:
2016-02-20 17:44:17
阅读次数:
1368
Nginx基础
1. nginx安装
2. nginx
编译参数详解
3. nginx安装配置+清缓存模块安装
4. nginx+PHP
5.5
5. nginx配置虚拟主机
6. nginx
location配置
7. nginx
root&alias文件路径配置
8. ngx_http_core_module模块提供的变量
9. nginx日...
分类:
其他好文 时间:
2015-08-30 21:30:37
阅读次数:
364
这个是公司内部使用的一个模版引擎,主要应用在pc。根据模版,返回一个js文件。大概是这个样子的js。(function(N, undefined){ var PATH = 'http://core.pc.lietou-static.com/tpls/common/plugins/localdata....
分类:
Web程序 时间:
2015-08-15 13:19:01
阅读次数:
184