This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch fix-registry-trailing-slash-redirect in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit fd731cd0d0b45a038ab1a94624a9fc42234f4d2f Author: Kaxil Naik <[email protected]> AuthorDate: Tue Mar 10 01:54:19 2026 +0000 Fix /registry not working without trailing slash The proxy rewrite condition `^/registry/` requires the trailing slash, so bare `/registry` requests never get proxied to CloudFront. Add a 301 redirect from `/registry` to `/registry/` before the proxy block. --- landing-pages/site/static/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/landing-pages/site/static/.htaccess b/landing-pages/site/static/.htaccess index 2b3e00b7d7..929acab826 100644 --- a/landing-pages/site/static/.htaccess +++ b/landing-pages/site/static/.htaccess @@ -1,5 +1,8 @@ RewriteEngine On +# Redirect bare /registry to /registry/ for consistent trailing-slash URLs +RewriteRule ^/registry$ /registry/ [R=301,L] + RewriteCond %{REQUEST_URI} ^/docs [OR] RewriteCond %{REQUEST_URI} ^/schemas/ [OR] RewriteCond %{REQUEST_URI} ^/registry/
