Move fallbackHosts to vhostTrie

This commit is contained in:
Sergey Frolov
2017-07-27 17:01:40 -04:00
parent 4991d702fd
commit a197c864e8
3 changed files with 20 additions and 11 deletions
+3
View File
@@ -52,6 +52,9 @@ type SiteConfig struct {
// preserving functionality needed for proxying,
// websockets, etc.
Timeouts Timeouts
// If true all unmatched requests will be served by this site
FallbackSite bool
}
// Timeouts specify various timeouts for a server to use.