diff --git a/airflow-core/src/airflow/cli/commands/config_command.py b/airflow-core/src/airflow/cli/commands/config_command.py index cdf07f9c2c20f..b953e61d09c0a 100644 --- a/airflow-core/src/airflow/cli/commands/config_command.py +++ b/airflow-core/src/airflow/cli/commands/config_command.py @@ -467,27 +467,33 @@ def message(self) -> str | None: ), ConfigChange( config=ConfigParameter("webserver", "enable_proxy_fix"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "enable_proxy_fix"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "proxy_fix_x_for"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "proxy_fix_x_for"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "proxy_fix_x_proto"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "proxy_fix_x_proto"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "proxy_fix_x_host"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "proxy_fix_x_host"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "proxy_fix_x_port"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "proxy_fix_x_port"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "proxy_fix_x_prefix"), - was_deprecated=False, + renamed_to=ConfigParameter("fab", "proxy_fix_x_prefix"), + breaking=True, ), ConfigChange( config=ConfigParameter("webserver", "cookie_secure"), diff --git a/chart/values.yaml b/chart/values.yaml index a029360f0ac2e..0ce349bde0518 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -2662,7 +2662,10 @@ config: statsd_port: 9125 statsd_prefix: airflow statsd_host: '{{ printf "%s-statsd" (include "airflow.fullname" .) }}' + fab: + enable_proxy_fix: 'True' webserver: + # For Airflow 2.X enable_proxy_fix: 'True' # For Airflow 1.10 rbac: 'True'