about summary refs log tree commit diff stats
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.go b/server.go
index 945ed38..9d04dc1 100644
--- a/server.go
+++ b/server.go
@@ -80,6 +80,7 @@ func main() {
 		DisableDefaultDate:       true,
 		DisableHeaderNormalizing: true,
 		DisableStartupMessage:    true,
+		Network:                  fiber.NetworkTCP,
 	})
 	prometheus := fiberprometheus.New("homestead")
 	prometheus.RegisterAt(metricServer, "/metrics")
@@ -152,6 +153,7 @@ func main() {
 	toplevel := fiber.New(fiber.Config{
 		DisableStartupMessage: runtimeConfig.Production,
 		ServerHeader:          fmt.Sprintf("website (%s)", Commit),
+		Network:               fiber.NetworkTCP,
 	})
 	toplevel.Get("/health", func(c *fiber.Ctx) error {
 		return c.SendStatus(fiber.StatusOK)