These examples all live in a default server block in your httpd.conf(5).
server "default" {
listen on * port 80
... # all the location blocks can together right here
}
We'll be using slowcgi(8) as the example, because with the -d
flag it helpfully spits out the FastCGI environment it got from httpd(8) and what it's planning to do with that.