         var port: UInt16
         var sslCertificatePath: String
         var sslKeyPath: String
+        var enableHTTP2: Bool
     }
 
     struct SiteConfig {

                    let cookieSeed = siteConfigJSON["cookieSeed"] as? String
                {
                    self.databaseConfig = DatabaseConfig(host: host, user: user, password: password, dbname: dbname, tablePrefix: tablePrefix)
                    self.serverConfig = ServerConfig(address: address, port: port, sslCertificatePath: sslCertificatePath, sslKeyPath: sslKeyPath)
                    self.siteConfig = SiteConfig(uploadSizeLimit: uploadSizeLimit, cookieName: cookieName, cookieDomain: cookieDomain, cookiePath: cookiePath, cookieSecure: cookieSecure, cookieSeed: cookieSeed)
                } else {
                    fatalError("Load config failed")

        server.serverPort = serverConfig.port
        if !serverConfig.sslCertificatePath.isEmpty && !serverConfig.sslKeyPath.isEmpty {
            server.ssl = (serverConfig.sslCertificatePath, serverConfig.sslKeyPath)
        }
        if serverConfig.enableHTTP2 {
            server.alpnSupport = [.http2, .http11]
        }
        server.addRoutes(routes)
