server "jpnuk.org.uk" { listen on * port 80 listen on * tls port 443 connection request timeout 4 location "/pub/*" { root "/werc" } location found "/*" { root "/werc/sites/jpnuk.org.uk" } tls { certificate "/etc/ssl/jpnuk.org.uk.pem" key "/etc/ssl/private/jpnuk.org.uk.key" } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location not found "/*" { root "/" fastcgi { param PLAN9 "/usr/local/plan9" param DOCUMENT_ROOT "/werc/bin" param SCRIPT_FILENAME "/werc/bin/werc.rc" socket "/run/slowcgi.sock" } } gzip-static }