alias.url += ( "/.well-known/acme-challenge/" => "/var/www/lets_encrypt/challenges/" ) $HTTP["scheme"] == "http" { url.redirect = ( "^/\.well-known/acme-challenge/.*" => "", "^/(.*)" => "https://www.example.com/$1" ) }