Fix example regex in vhosts

Thanks Hiltjo for noticing this!
This commit is contained in:
Laslo Hunhold 2017-07-21 18:36:02 +02:00
parent a80f984ea3
commit 10d2ffe53a

View file

@ -20,7 +20,7 @@ static struct {
regex_t re;
} vhost[] = {
/* canonical host host regex directory */
{ "example.org", "^(www.)example.org$", "/example.org" },
{ "example.org", "^(www\.)?example.org$", "/example.org" },
};
/* mime-types */