Fix the regex in the example

Thanks Hiltjo!
This commit is contained in:
Laslo Hunhold 2018-02-27 13:00:23 +01:00
parent 7b7f166dd5
commit b40b11a40e

View file

@ -22,7 +22,7 @@ static struct {
} vhost[] = {
/* canonical host host regex directory prefix */
{ "example.org", "^(www\\.)?example\\.org$", "/example.org", NULL },
{ "example.org", "old\\.example\\.org", "/", "/old" },
{ "example.org", "^old\\.example\\.org$", "/", "/old" },
};
/* target prefix mapping */