mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 21:18:11 -04:00
chore: merge main into release/v4.5 (#12175)
Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Andras Bacsai
Claude Opus 5.5
parent
7c14c0098e
commit
5dddcfd276
@@ -322,7 +322,9 @@ class ServerSetting extends Model
|
||||
{
|
||||
$url = $this->sentinel_custom_url;
|
||||
|
||||
if ($this->server->isLocalhost() && $url === 'http://host.docker.internal:8000') {
|
||||
// The local Sentinel runs on the coolify network. A host gateway URL leaves that network
|
||||
// through the host INPUT chain, where host firewalls such as UFW drop it.
|
||||
if ($this->server->isLocalhost() && strtolower((string) parse_url((string) $url, PHP_URL_HOST)) === 'host.docker.internal') {
|
||||
$url = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user