X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-stats-tls%2Flocal.conf;h=6905300ed979f83e3ddfeff81393470dde31a17b;hb=d0a74722b0cb7640e2ad42a2c4d52ac3b8bffdbe;hp=49e29878d825bcd77674527a49ad556155f2a7d7;hpb=f59b585153c973bf26dfee4b3bc9bddf19c683ec;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/lhc-stats-tls/local.conf b/etc/nginx/site.d/lhc-stats-tls/local.conf index 49e2987..6905300 100644 --- a/etc/nginx/site.d/lhc-stats-tls/local.conf +++ b/etc/nginx/site.d/lhc-stats-tls/local.conf @@ -9,14 +9,14 @@ location = /index.php { add_header X-Piwik-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 5m; fastcgi_cache_valid 302 3m; fastcgi_cache_valid 404 1m; fastcgi_ignore_headers Cache-Control Expires; fastcgi_index index.php; - fastcgi_no_cache $no_cache; + fastcgi_no_cache $lhc_stats_no_cache; fastcgi_param REDIRECT_STATUS 200; fastcgi_pass php_fpm_lhc_stats;