Modifications: etc/nginx/site.d/lhc-stats/site.conf - Autoriser pages
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 29 Apr 2014 07:14:06 +0000 (09:14 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 29 Apr 2014 07:14:06 +0000 (09:14 +0200)
html

etc/nginx/site.d/lhc-stats/site.conf

index 986e3b9..047d31e 100644 (file)
@@ -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;
  }