From 2b9f4940a56442fb920af7a7a9cfda9002b06434 Mon Sep 17 00:00:00 2001 From: Mitch Kramer Date: Tue, 26 Nov 2024 10:43:03 -0600 Subject: [PATCH] Fixes bad regex for loopback replacement --- cli/Valet/Site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php index d0108b10..6adb18b3 100644 --- a/cli/Valet/Site.php +++ b/cli/Valet/Site.php @@ -398,7 +398,7 @@ public function replaceOldLoopbackWithNew(string $siteConf, string $old, string $lookups = []; $lookups[] = '~#?listen .*:80; # valet loopback~'; - $lookups[] = '~#?listen .*:443 ssl http2; # valet loopback~'; + $lookups[] = '~#?listen .*:443 ssl; # valet loopback~'; $lookups[] = '~#?listen .*:60; # valet loopback~'; foreach ($lookups as $lookup) {