From: Ludovic CHEVALIER Date: Wed, 12 Mar 2014 16:38:51 +0000 (+0100) Subject: Modifications: etc/nginx/site.d/lhc-www/site.conf - Les fichiers X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=d77864fe456677fe385ce8b4137cc1882cd75f18 Modifications: etc/nginx/site.d/lhc-www/site.conf - Les fichiers html manquants ne sont plus loggés --- diff --git a/etc/nginx/site.d/lhc-www/site.conf b/etc/nginx/site.d/lhc-www/site.conf index da1e35e..2fe799c 100644 --- a/etc/nginx/site.d/lhc-www/site.conf +++ b/etc/nginx/site.d/lhc-www/site.conf @@ -9,6 +9,9 @@ client_max_body_size 10m; location ~^/(tmp|config)/{ return 403; } +location ~ \.html$ { + log_not_found off; +} location ~ \.php$ { include /etc/nginx/conf.d/fastcgi.conf; fastcgi_index index.php ;