This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch exclude-docs-index-html-from-being-rewritten in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 5186f63126aa2f378a03403bbe753201f71a5a59 Author: Jarek Potiuk <[email protected]> AuthorDate: Tue Jul 22 13:18:28 2025 +0200 Do not rewrite ^docs/index.html on our website The docs/index.html is generated and published in the ASF infrastructure and we should not rewrite it and redirect to our S3 - this way whatever is the latest version on our "airflow-site" is the one published. --- landing-pages/site/static/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/landing-pages/site/static/.htaccess b/landing-pages/site/static/.htaccess index 647d025fa2..4c32f01713 100644 --- a/landing-pages/site/static/.htaccess +++ b/landing-pages/site/static/.htaccess @@ -1,5 +1,6 @@ RewriteEngine On +RewriteCond %{REQUEST_URI} !^/docs/index\.html$ [NC] RewriteCond %{REQUEST_URI} ^/docs [NC] RewriteRule (.*) https://d7fnmbhf26p21.cloudfront.net/$1 [P]
