ltcp/aufgabe2.6/nginx/sites/default.conf

28 lines
638 B
Plaintext
Raw Normal View History

2013-11-13 14:48:57 +00:00
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;
}
}