add_header X-Piwik-Long-Cache $upstream_cache_status;
expires epoch;
fastcgi_cache microcache;
- fastcgi_cache_bypass $no_cache;
+ fastcgi_cache_bypass $lhc_stats_no_cache;
fastcgi_cache_use_stale error timeout invalid_header updating http_500;
fastcgi_cache_valid 200 301 2h;
fastcgi_cache_valid 302 30m;
fastcgi_cache_valid 404 10m;
fastcgi_ignore_headers Cache-Control Expires;
- fastcgi_no_cache $no_cache;
+ fastcgi_no_cache $lhc_stats_no_cache;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_pass php_fpm_lhc_stats;