Skip to content

Commit

Permalink
Secure the proxies created for valet plus services (#636)
Browse files Browse the repository at this point in the history
This will create the proxy for elasticsearch and mailhog with secure certificates to ensure they work best.
  • Loading branch information
EHLOVader authored Apr 13, 2024
1 parent d52f1bd commit eb08d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/ValetPlus/Elasticsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function install($version = self::ES_DEFAULT_VERSION, $tld = 'test')
}

$this->restart($version);
$this->site->proxyCreate('elasticsearch', 'http://127.0.0.1:9200');
$this->site->proxyCreate('elasticsearch', 'http://127.0.0.1:9200', true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion cli/ValetPlus/Mailhog.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function register()
public function install(string $tld = 'test'): void
{
$this->brew->ensureInstalled(static::SERVICE_NAME);
$this->site->proxyCreate('mailhog', 'http://127.0.0.1:8025');
$this->site->proxyCreate('mailhog', 'http://127.0.0.1:8025', true);
$this->setEnabled(static::STATE_ENABLED);
$this->restart();
}
Expand Down

0 comments on commit eb08d82

Please sign in to comment.