X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fnginx%2Fsite.d%2Flhc-stats%2Fsite.conf;h=047d31edf3123a0852303bfaf9a9a6be48d0f00a;hb=a21e30df45d1b82ed9895ad798f6e1fe6f41a2df;hp=986e3b93b99633a24b861ae0cf929329ac88cb09;hpb=4c333a9fe92076adcf2affafd620dca26fd8a997;p=lhc%2Fateliers.git 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; }