dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : nginx/site.d/lhc-stats/site.conf : valid_referers .
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
lhc-stats
/
site.conf
diff --git
a/etc/nginx/site.d/lhc-stats/site.conf
b/etc/nginx/site.d/lhc-stats/site.conf
index
e162eda
..
f721c27
100644
(file)
--- 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
## 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;
}
if ($invalid_referer) {
return 444;
}