From a21e30df45d1b82ed9895ad798f6e1fe6f41a2df Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Tue, 29 Apr 2014 09:14:06 +0200 Subject: [PATCH] Modifications: etc/nginx/site.d/lhc-stats/site.conf - Autoriser pages html --- etc/nginx/site.d/lhc-stats/site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/site.d/lhc-stats/site.conf b/etc/nginx/site.d/lhc-stats/site.conf index 986e3b9..047d31e 100644 --- a/etc/nginx/site.d/lhc-stats/site.conf +++ b/etc/nginx/site.d/lhc-stats/site.conf @@ -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; } -- 2.20.1