Add virtual hosts example

This commit is contained in:
2025-11-27 09:00:27 +01:00
parent b87a78a023
commit 93c989b56f
5 changed files with 81 additions and 3 deletions
+1 -1
View File
@@ -1318,7 +1318,7 @@ bool http_match_host(HTTP_Request *req, HTTP_String domain, int port)
}
HTTP_String host = req->headers[idx].value;
return http_streq(host, domain);
return http_streqcase(host, domain);
}