airflow.providers.fab.www.extensions.init_wsgi_middlewares¶
Functions¶
Return the path the API server mounts the auth manager app on, relative to its root path. |
|
|
Handle X-Forwarded-* headers and base_url support. |
Module Contents¶
- airflow.providers.fab.www.extensions.init_wsgi_middlewares.get_auth_mount_path()[source]¶
Return the path the API server mounts the auth manager app on, relative to its root path.
AUTH_MANAGER_FASTAPI_APP_PREFIXalready includes the[api] base_urlpath, which a reverse proxy replaces withX-Forwarded-Prefix; only the trailing mount segment must survive.