From 79dbee053094653dbc5557a761664dd1c15bd7bc Mon Sep 17 00:00:00 2001 From: Dushyant Acharya Date: Sun, 7 Jun 2026 16:21:22 +0530 Subject: [PATCH] docs: update FAB auth manager Flask config wording for Airflow 3 --- .../docs/auth-manager/configuring-flask-app.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/providers/fab/docs/auth-manager/configuring-flask-app.rst b/providers/fab/docs/auth-manager/configuring-flask-app.rst index 3395be1d57fb3..b0cd017f5477f 100644 --- a/providers/fab/docs/auth-manager/configuring-flask-app.rst +++ b/providers/fab/docs/auth-manager/configuring-flask-app.rst @@ -15,12 +15,14 @@ specific language governing permissions and limitations under the License. -Configuring Flask Application for Airflow Webserver -=================================================== - -``FabAuthManager`` and Airflow 2 plugins uses Flask to render the web UI.When initialized, predefined configuration -is used, based on the ``webserver`` section of the ``airflow.cfg`` file. You can override these settings -and add any extra settings by adding flask configuration to ``webserver_config.py`` file specified in ``[fab] config_file`` (by default it is ``$AIRFLOW_HOME/webserver_config.py``). This file is automatically loaded by the webserver. +Configuring the Flask Application for the Airflow UI +==================================================== + +``FabAuthManager`` uses Flask to render the Airflow UI. When initialized, it uses predefined +configuration based on the ``webserver`` section of ``airflow.cfg``. You can override these +settings and add extra Flask configuration in the ``webserver_config.py`` file specified by +``[fab] config_file`` (by default ``$AIRFLOW_HOME/webserver_config.py``). This file is +automatically loaded by the FAB auth manager. For example if you would like to change rate limit strategy to "moving window", you can set the ``RATELIMIT_STRATEGY`` to ``moving-window``.