Last active
August 29, 2015 14:12
-
-
Save informationsea/2ee950dfc01d1658c7c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;configuration for supervisor | |
[program:munin-graph] | |
command=spawn-fcgi -u munin -g munin -U nginx -s /var/run/munin/fcgi-graph.sock -S -M 0600 -n -- /var/www/cgi-bin/munin-cgi-graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;configuration for supervisor | |
[program:munin-html] | |
command=spawn-fcgi -u munin -g munin -U nginx -s /var/run/munin/fcgi-html.sock -S -M 0600 -n -- /var/www/cgi-bin/munin-cgi-html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# partial configuration for Nginx | |
location /**/munin2/static/ { | |
alias /var/www/html/munin/static/; | |
} | |
location /**/munin2 { | |
fastcgi_split_path_info ^(/private/munin2)(.*); | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
fastcgi_pass unix:/var/run/munin/fcgi-html.sock; | |
include fastcgi_params; | |
auth_basic "closed site"; | |
auth_basic_user_file htpasswd; | |
} | |
location ^~ /**/munin-cgi/munin-cgi-graph/ { | |
access_log off; | |
fastcgi_split_path_info ^(/private/munin-cgi/munin-cgi-graph)(.*); | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
fastcgi_pass unix:/var/run/munin/fcgi-graph.sock; | |
include fastcgi_params; | |
auth_basic "closed site"; | |
auth_basic_user_file htpasswd; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment