1. Caddy version (caddy version
):
latest
2. How I run Caddy:
html web site and perl scripts
a. System environment:
Ubuntu
d. My complete Caddyfile or JSON config:
test.com {
root * /var/www/cgi
try_files {path} {path}/ {path}.cgi?{query}
reverse_proxy unix//var/run/fcgiwrap.socket {
transport fastcgi {
split .cgi
}
}
}
3. The problem I’m having:
the caddy file above is serving cgi scrips properly. we would like to serve html pages as well (html pages on our server are located in /var/www/html)