mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-07-13 16:42:35 +02:00
proxy_cache_key
This commit is contained in:
@@ -82,6 +82,7 @@ http {
|
||||
|
||||
# Cache
|
||||
proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=512m;
|
||||
proxy_cache_key "$host$request_uri $cookie_user";
|
||||
proxy_temp_path /var/cache/nginx/temp;
|
||||
proxy_ignore_headers Expires Cache-Control;
|
||||
proxy_cache_use_stale error timeout invalid_header http_502;
|
||||
|
||||
@@ -82,6 +82,7 @@ http {
|
||||
|
||||
# Cache
|
||||
proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=512m;
|
||||
proxy_cache_key "$host$request_uri $cookie_user";
|
||||
proxy_temp_path /var/cache/nginx/temp;
|
||||
proxy_ignore_headers Expires Cache-Control;
|
||||
proxy_cache_use_stale error timeout invalid_header http_502;
|
||||
|
||||
Reference in New Issue
Block a user