diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php index 4c2416c..85b749e 100644 --- a/cli/Valet/Site.php +++ b/cli/Valet/Site.php @@ -409,7 +409,7 @@ public function resecureForNewConfiguration(array $old, array $new) $newUrl = str_replace('.'.$oldTld, '.'.$tld, $url); $siteConf = $this->getSiteConfigFileContents($url, '.'.$oldTld); - if (! empty($siteConf) && strpos($siteConf, '# valet stub: proxy.valet.conf') === 0) { + if (! empty($siteConf) && strpos($siteConf, '# valet stub: secure.proxy.valet.conf') === 0) { // proxy config $this->unsecure($url); $this->secure(