mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
fix: check for the secure proxy stub when resecuring with a fresh config
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user