# Prepend www. to any hostname that doesn't include it
if (!std.prefixof(req.http.host, "www.")) {
  set req.http.host = "www." + req.http.host;
  error 600;
}