1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

Merge pull request #1305 from ashleyshenton/fix/retain-secure-proxies

fix: retain secure proxies
This commit is contained in:
Matt Stauffer
2022-11-30 22:08:02 -05:00
committed by GitHub

View File

@@ -412,7 +412,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(