diff options
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | munin.conf | 2 | ||||
-rw-r--r-- | nginx-munin | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -49,8 +49,8 @@ RUN \ rm -rf /var/lib/munin/cgi-tmp && \ ln -s /munin/www/cache /var/lib/munin/cgi-tmp && \ \ - chgrp -R root /munin /var/run/munin /etc/munin/munin.conf /var/tmp/nginx /var/lib/nginx && \ - chmod -R g+rw /munin /var/run/munin /etc/munin/munin.conf /var/tmp/nginx && \ + chgrp -R root /munin /etc/munin/munin.conf /var/tmp/nginx /var/lib/nginx && \ + chmod -R g+rw /munin /etc/munin/munin.conf /var/tmp/nginx && \ for name in "/var/tmp/nginx /munin/"; do find $name -type d -print0 | xargs -0 chmod g+x; done EXPOSE 8080 @@ -1,5 +1,5 @@ dbdir /munin/db -rundir /var/run/munin +rundir /tmp htmldir /munin/www logdir /munin/log diff --git a/nginx-munin b/nginx-munin index 07451b3..4dc9764 100644 --- a/nginx-munin +++ b/nginx-munin @@ -24,6 +24,6 @@ server { } location / { - rewrite ^/$ /munin/ redirect; break; + rewrite ^/$ munin/ redirect; break; } } |