2015-03-09 11:18:02 +01:00
|
|
|
fastcgi_cache_key $scheme$request_method$host$request_uri;
|
2015-02-10 21:04:28 +01:00
|
|
|
# According to the docs, a 1m key zone can store ~8,000 keys, so 10m should
|
|
|
|
# be enough. See: http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html
|
|
|
|
fastcgi_cache_path /var/cache/nginx/cached/fastcgi levels=2:2 keys_zone=global:10m inactive=60m max_size=1G;
|