diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-26 06:21:33 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-26 06:21:33 +0200 |
commit | 6348285571e9877990317303b5508b737686faef (patch) | |
tree | 213ae1d9f5f09ab39d928c5ca82019ae6c4053fe | |
parent | 4d5bc7291ed8c6df4eb34e7b3e7ebd5bf164e718 (diff) | |
download | munin-6348285571e9877990317303b5508b737686faef.tar.gz munin-6348285571e9877990317303b5508b737686faef.tar.bz2 munin-6348285571e9877990317303b5508b737686faef.tar.xz munin-6348285571e9877990317303b5508b737686faef.zip |
Fix redirect
-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; } } |