prefork 5 types { include "/usr/share/misc/mime.types" # shell files render as plain text text/plain sh conf } server "example.com" { listen on * port 80 location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location * { block return 301 "https://$HTTP_HOST$REQUEST_URI" } } server "example.com" { listen on 127.0.0.1 port 8080 default type text/html location "/pub/*" { directory auto index } }