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 <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-03-09 13:18:02 +03:00
parent 53d2c85bf0
commit 41f055306f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -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;