Convert munin's nginx config to Caddy

The static web is working fine, but i can’t get the Zoom to work…

  location ^~ /munin-cgi/munin-cgi-graph/ {
   access_log off;
   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;

I can’t figure out how to convert this section into Caddyfile…

This is my current Caddyfile:

http://munin.xx.xx {
 root /usr/local/caddy/www/munin
 timeouts none
http://munin.xx.xx/munin/static/ {
root /etc/munin/static/
http://munin.xx.xx/munin/ {
root /var/cache/munin/www/

You’ll need to use the fastcgi directive. The most common format is something like:

fastcgi / php

But you can substitute your socket (unix:/var/run/munin/fcgi-graph.sock) for the localhost address.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.