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

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