序 本文主要解析一下ngx_http_rewrite_module中的rewrite相关配置。 directives 名称 默认配置 作用域 官方说明 中文解读 模块 break 无 server, location, if Stops processing the current set of ngx_http_rewrite_module directives. 中断当前的重写 ngx_http_rewrite_module if 无 server, location The specified ...
序 本文主要解析一下nginx ngx_http_proxy_module中的cache相关配置参数。 proxy_cache 名称 默认配置 作用域 官方说明 中文解读 模块 proxy_cache proxy_cache off; http, server, location Defines a shared memory zone used for caching. The same zone can be used in several places. Parameter value can contain...