X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Flhc-stats%2Fhttp.conf;h=eed8b102c78735ece042481b5b379b4938dac0a7;hp=a208d3bc5d217c4440c1149de910e90a0ba3c592;hb=0844732f8e6296c63a4c09acf6de4d9f0e8b1e18;hpb=eeebc0784bb65139ac813d29f0708574d47f2803 diff --git a/etc/nginx/site.d/lhc-stats/http.conf b/etc/nginx/site.d/lhc-stats/http.conf index a208d3b..eed8b10 100644 --- a/etc/nginx/site.d/lhc-stats/http.conf +++ b/etc/nginx/site.d/lhc-stats/http.conf @@ -2,24 +2,24 @@ upstream php_fpm_lhc_stats { server unix:/run/php5/fpm/lhc_stats; } -map $request_method $no_cache { +map $request_method $lhc_stats_no_cache { # NOTE: if non GET/HEAD, don't cache. default 1; HEAD 0; GET 0; } -map $arg_module $no_cache { +map $arg_module $lhc_stats_no_cache { ## When we go through installation ## or when we're on the dashboard for specific tasks. Installation 1; # when invoking the installation module. ~[^\&]*(?:Dashboard|Live|Goals|Admin|Manager) 1; # some tasks } -map $arg_action $no_cache { +map $arg_action $lhc_stats_no_cache { ## The first installation steps don't invoke the installation module. systemCheck 1; databaseSetup 1; } -map $http_cookie $no_cache { +map $http_cookie $lhc_stats_no_cache { ## Testing for the session cookie being present. ## If there is then no caching is to be done. ~PIWIK_SESSID 1; # Piwik session cookie