# Be sure to enable mod_redirect in order to use this. $SERVER["socket"] == ":80" { url.redirect = ( "" => "https://${url.authority}${url.path}${sqa}" ) }