Modifications: etc/nginx/site.d/lhc-stats/site.conf - Autoriser pages
[lhc/ateliers.git] / etc / nginx / site.d / lhc-stats / site.conf
index f721c27..047d31e 100644 (file)
@@ -60,7 +60,7 @@ location = /piwik.php {
        fastcgi_no_cache $no_cache;
        fastcgi_param REDIRECT_STATUS 200;
        
-       fastcgi_pass php5_fpm_lhc_stats;
+       fastcgi_pass php_fpm_lhc_stats;
  }
 location ~* ^.+\.php$ {
  ## Any other attempt to access PHP files redirects to the root.
@@ -70,7 +70,7 @@ location ~* (?:DESIGN|(?:gpl|README|LICENSE)[^.]*|LEGALNOTICE)(?:\.txt)*$ {
  ## Redirect to the root if attempting to access a txt file.
        return 302 /;
  }
-location ~* \.(?:bat|html?|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
+location ~* \.(?:bat|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
  ## Disallow access to several helper files.
        return 404;
  }