mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(proxy): add optional permanent redirects for apps and services (#12233)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user