xin

scgi_cache_valid

SCGI: Sets the cache lifetime for response status codes.

Syntaxscgi_cache_valid [code ...] time;
Contextshttpserverlocation

Behavior

Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.

Example

scgi_cache_valid 200 10m;