feat: disable gzip compression on service applications

This commit is contained in:
Andras Bacsai
2024-02-15 20:44:01 +01:00
parent 5bdaa68368
commit 45e404b15b
15 changed files with 95 additions and 39 deletions

View File

@@ -1039,7 +1039,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
$serviceLabels = $serviceLabels->merge($defaultLabels);
if (!$isDatabase && $fqdns->count() > 0) {
if ($fqdns) {
$serviceLabels = $serviceLabels->merge(fqdnLabelsForTraefik($resource->uuid, $fqdns, true, serviceLabels: $serviceLabels));
$serviceLabels = $serviceLabels->merge(fqdnLabelsForTraefik($resource->uuid, $fqdns, true, serviceLabels: $serviceLabels, is_gzip_enabled: $savedService->isGzipEnabled()));
}
}
if ($resource->server->isLogDrainEnabled() && $savedService->isLogDrainEnabled()) {