feat(proxy): add optional permanent redirects for apps and services (#12233)

This commit is contained in:
Andras Bacsai
2026-10-19 21:46:12 +02:00
committed by GitHub
parent fb6d3e7c9b
commit 62be8674bc
20 changed files with 323 additions and 15 deletions
+3
View File
@@ -31,6 +31,7 @@ use OpenApi\Attributes as OA;
'is_gzip_enabled' => ['type' => 'boolean'],
'traefik_certificate_resolver' => ['type' => 'string', 'nullable' => true, 'description' => 'Traefik certificate resolver override. Null uses the server setting, "none" uses no resolver.'],
'is_stripprefix_enabled' => ['type' => 'boolean'],
'is_permanent_redirect_enabled' => ['type' => 'boolean', 'description' => 'Use permanent (301/308) instead of temporary (302/307) proxy redirects.'],
'connect_to_docker_network' => ['type' => 'boolean'],
'custom_internal_name' => ['type' => 'string', 'nullable' => true],
'custom_container_name_prefix' => ['type' => 'string', 'nullable' => true],
@@ -86,6 +87,7 @@ class ApplicationSetting extends Model
'is_consistent_container_name_enabled' => 'boolean',
'is_gzip_enabled' => 'boolean',
'is_stripprefix_enabled' => 'boolean',
'is_permanent_redirect_enabled' => 'boolean',
'connect_to_docker_network' => 'boolean',
'is_env_sorting_enabled' => 'boolean',
'include_coolify_default_variables' => 'boolean',
@@ -115,6 +117,7 @@ class ApplicationSetting extends Model
'is_gzip_enabled',
'traefik_certificate_resolver',
'is_stripprefix_enabled',
'is_permanent_redirect_enabled',
'connect_to_docker_network',
'custom_internal_name',
'custom_container_name_prefix',