Suppression Piwik

This commit is contained in:
nyanloutre 2017-09-23 12:20:17 +02:00
parent 74df2884f8
commit 0be0045d95
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063
3 changed files with 24 additions and 17 deletions

View File

@ -1,4 +1,6 @@
FROM quay.io/nyanloutre/site-musique-docker
FROM nginx:alpine
MAINTAINER Paul TREHIOU <paul.trehiou@gmail.com>
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./ /usr/share/nginx/html/

View File

@ -17,19 +17,3 @@
<![endif]-->
<link rel="icon" type="image/jpg" href="img/favicon.jpg" />
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//musique-meyenheim.fr/analytics/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//musique-meyenheim.fr/analytics/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->

21
nginx.conf Normal file
View File

@ -0,0 +1,21 @@
erver {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.php;
}
#error_page 404 /404.html;
# pass the PHP scripts to FastCGI server listening on php:9000
#
location ~ \.php$ {
root html;
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html/$fastcgi_script_name;
include fastcgi_params;
}
}