mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
feat: gzip enabled & stipprefix setting
refactor: code
This commit is contained in:
1 parent
cee6b54033
commit
8385bbb0a0
32 files changed
+154
-62
No files matched your search
@@ -96,7 +96,7 @@ class StandaloneRedis extends BaseModel
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public function isLogDrainEnabled()
|
||||
public function is_log_drain_enabled()
|
||||
{
|
||||
return data_get($this, 'is_log_drain_enabled', false);
|
||||
}
|
||||
@@ -122,7 +122,7 @@ class StandaloneRedis extends BaseModel
|
||||
{
|
||||
return 'standalone-redis';
|
||||
}
|
||||
public function getDbUrl(bool $useInternal = false): string
|
||||
public function get_db_url(bool $useInternal = false): string
|
||||
{
|
||||
if ($this->is_public && !$useInternal) {
|
||||
return "redis://:{$this->redis_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
|
||||
|
||||
Reference in new issue
Block a user