refactor: Update ProxyTypes enum values to use TRAEFIK instead of TRAEFIK_V2

This commit is contained in:
Andras Bacsai
2024-08-07 17:52:51 +02:00
parent 13e8d3c17c
commit 59702c6dbc
11 changed files with 28 additions and 22 deletions

View File

@@ -136,7 +136,7 @@ function generate_default_proxy_configuration(Server $server)
'external' => true,
];
});
if ($proxy_type === 'TRAEFIK_V2') {
if ($proxy_type === ProxyTypes::TRAEFIK->value) {
$labels = [
'traefik.enable=true',
'traefik.http.routers.traefik.entrypoints=http',