Module ngx_http_memcached_module | ![]() english עברית 日本語 русский türkçe news about download security advisories documentation introduction pgp keys howto faq trac wiki links books support donation nginx.com @nginxorg | ||||||||||||||||||||||||||||||||||||
The Example Configuration
Directives
Sets
Defines a timeout for establishing a connection with the memcached server. It should be noted that this timeout cannot usually exceed 75 seconds.
Specifies in which cases a request should be passed to the next server:
It should be understood that passing a request to the next server is only possible if a client was not sent anything yet. That is, if an error or a timeout occurs in the middle of transferring a response, fixing this is impossible.
Sets an address of the memcached server. An address can be specified as a domain name or an address, and a port, for example, memcached_pass localhost:11211;
If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group.
Defines a timeout for reading a response from the memcached server. A timeout is only set between two successive read operations, not for the transmission of the whole response. If a memcached server does not transmit anything within this time, a connection is closed.
Sets a timeout for transmitting a request to the memcached server. A timeout is only set between two successive write operations, not for the transmission of the whole request. If a memcached server does not receive anything within this time, a connection is closed. |