server "[SERVER].com" { alias "www.[SERVER].com" listen on egress port 80 listen on egress tls port 443 location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } root "/htdocs/[SERVER]" errdocs "/htdocs/[SERVER]/errors/" location "/man/manoh/" { directory auto index } location "/dev/" { directory auto index } location "/config/" { directory auto index } location "/login/" { authenticate "realm" with "[SERVER]_htpasswd" } tls { certificate "/etc/ssl/[SERVER].com.fullchain.pem" key "/etc/ssl/private/[SERVER].com.key" } log style forwarded } types { include "/usr/share/misc/mime.types" text/css css text/html html text/plain txt oh mk conf }