Suppression Piwik
This commit is contained in:
parent
74df2884f8
commit
0be0045d95
@ -1,4 +1,6 @@
|
|||||||
FROM quay.io/nyanloutre/site-musique-docker
|
FROM nginx:alpine
|
||||||
MAINTAINER Paul TREHIOU <paul.trehiou@gmail.com>
|
MAINTAINER Paul TREHIOU <paul.trehiou@gmail.com>
|
||||||
|
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
COPY ./ /usr/share/nginx/html/
|
COPY ./ /usr/share/nginx/html/
|
||||||
|
@ -17,19 +17,3 @@
|
|||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<link rel="icon" type="image/jpg" href="img/favicon.jpg" />
|
<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
21
nginx.conf
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user