From: Julien Moutinho Date: Fri, 19 Apr 2013 11:10:12 +0000 (+0200) Subject: Correction : nginx/site.d/lhc-stats/site.conf : valid_referers . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=5682b99b1785d7a53ded1f3d0d1e0ab938f1efc6 Correction : nginx/site.d/lhc-stats/site.conf : valid_referers . --- diff --git a/etc/nginx/site.d/lhc-stats/site.conf b/etc/nginx/site.d/lhc-stats/site.conf index e162eda..f721c27 100644 --- a/etc/nginx/site.d/lhc-stats/site.conf +++ b/etc/nginx/site.d/lhc-stats/site.conf @@ -19,11 +19,12 @@ location ~* ^.+\.(?:css|gif|jpe?g|js|png|swf)$ { ## Defining the valid referers. ## Disallow any usage of piwik assets if referer is non valid. valid_referers none blocked - *.cyclocoop.org - *.heureux-cyclage.org - *.ptitvelo.net - *.velosenville.org - *.wiklou.org; + server_names + .cyclocoop.org + .heureux-cyclage.org + .ptitvelo.net + .velosenville.org + .wiklou.org; if ($invalid_referer) { return 444; }