From 41f055306f509b65b8f9dbf198f7937ae9b87d7c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 9 Mar 2015 13:18:02 +0300 Subject: [PATCH] roles/nginx: Re-order $request_method in fastcgi_cache_key Everyone else on the Internet has it this way, so why not. Signed-off-by: Alan Orth --- roles/nginx/files/fastcgi_cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nginx/files/fastcgi_cache b/roles/nginx/files/fastcgi_cache index b930fa8..acd41a4 100644 --- a/roles/nginx/files/fastcgi_cache +++ b/roles/nginx/files/fastcgi_cache @@ -1,4 +1,4 @@ -fastcgi_cache_key $scheme$host$request_method$request_uri; +fastcgi_cache_key $scheme$request_method$host$request_uri; # 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;