Extended version of the standard NGINX memcached module
11 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。
memc_buffer_size
指令 `memc_buffer_size` 定义用于接收来自 memcached 服务器的数据的缓冲区大小。
httpserverlocation
memc_cmds_allowed
指令 `memc_cmds_allowed` 指定了基于 HTTP 请求类型的允许的 memcached 命令列表。
httpserverlocation
memc_connect_timeout
指令 `memc_connect_timeout` 设置与 Memcached 服务器建立连接的超时时长。
httpserverlocation
memc_flags_to_last_modified
指令 `memc_flags_to_last_modified` 将 Memcached 标志设置为缓存响应的 Last-Modified 时间戳。
locationif in location
memc_ignore_client_abort
memc_ignore_client_abort 指令允许 NGINX 继续处理发送到 memcached 的请求,即使客户端提前断开连接。
locationif in location
memc_next_upstream
`memc_next_upstream` 指令定义了在遇到指定失败条件时重试上游 memcached 服务器的行为。
httpserverlocation
memc_pass
'memc_pass' 指令将请求发送到指定的 memcached 服务器以进行数据存储操作。
locationif in location
memc_read_timeout
指令 `memc_read_timeout` 设置从 memcached 服务器读取数据的最长时间限制。
httpserverlocation
memc_send_timeout
设置 NGINX 向 memcached 服务器发送命令的超时时间。
httpserverlocation
memc_upstream_fail_timeout
指定在上游 memcached 服务器不可用时进行故障转移尝试的超时时间。
httpserverlocation
memc_upstream_max_fails
设置在将 memcached 服务器标记为不可用之前的最大失败尝试次数。
httpserverlocation