mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
proxy_cache_key
This commit is contained in:
parent
763674cc1a
commit
d20cfcc285
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue