This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch staging-publish
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/staging-publish by this push:
new b72fed5066 Add registry rewrite rule to proxy /registry/ through
CloudFront
b72fed5066 is described below
commit b72fed5066046aac433a0998a8941568d99e554a
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Feb 20 12:05:38 2026 +0000
Add registry rewrite rule to proxy /registry/ through CloudFront
---
.htaccess | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index d19c002a4a..4ee2a3b83b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,7 +1,8 @@
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/docs [OR]
-RewriteCond %{REQUEST_URI} ^/schemas/
+RewriteCond %{REQUEST_URI} ^/schemas/ [OR]
+RewriteCond %{REQUEST_URI} ^/registry/
RewriteCond %{REQUEST_URI} !^/docs/index\.html$ [NC]
RewriteCond %{REQUEST_URI} !^/docs/index\.xml$ [NC]
RewriteRule (.*) https://d3a2du7x0n8ydr.cloudfront.net/$1 [P]