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
Modification : raccourcissement des noms UNIX pour MySQL : php5_ -> php_ .
[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
..
986e3b9
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;
}
@@
-59,7
+60,7
@@
location = /piwik.php {
fastcgi_no_cache $no_cache;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_no_cache $no_cache;
fastcgi_param REDIRECT_STATUS 200;
- fastcgi_pass php
5
_fpm_lhc_stats;
+ fastcgi_pass php_fpm_lhc_stats;
}
location ~* ^.+\.php$ {
## Any other attempt to access PHP files redirects to the root.
}
location ~* ^.+\.php$ {
## Any other attempt to access PHP files redirects to the root.