28 lines
638 B
Plaintext
28 lines
638 B
Plaintext
|
server {
|
||
|
listen [::]:80;
|
||
|
listen 80;
|
||
|
#listen [::]:443 ssl;
|
||
|
#listen 443 ssl;
|
||
|
|
||
|
root /srv/http/lctp;
|
||
|
|
||
|
location ^~ /munin-cgi/munin-cgi-graph/ {
|
||
|
fastcgi_split_path_info ^(/munin-cgi/munin-cgi-graph)(.*);
|
||
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||
|
fastcgi_pass unix:/var/run/munin/fcgi-graph.sock;
|
||
|
include fastcgi_params;
|
||
|
}
|
||
|
|
||
|
location /munin/static/ {
|
||
|
alias /etc/munin/static/;
|
||
|
expires modified +1w;
|
||
|
}
|
||
|
|
||
|
location /munin/ {
|
||
|
fastcgi_split_path_info ^(/munin)(.*);
|
||
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||
|
fastcgi_pass unix:/var/run/munin/fcgi-html.sock;
|
||
|
include fastcgi_params;
|
||
|
}
|
||
|
}
|