This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch refactor/next
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/refactor/next by this push:
new 7100177d897 Fix static website
7100177d897 is described below
commit 7100177d897c2e2205e721e7f307a537bce6fabf
Author: Albumen Kevin <[email protected]>
AuthorDate: Mon Jan 2 20:12:51 2023 +0800
Fix static website
---
.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/.htaccess b/.htaccess
index 673542e0b4f..4e97b793f07 100644
--- a/.htaccess
+++ b/.htaccess
@@ -16,6 +16,7 @@
RewriteCond "%{HTTP:Accept-Language}" ^zh
RewriteCond %{HTTP_HOST} !cn
+ RewriteCond %{HTTP_HOST} !static
RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=302]
RewriteCond %{SERVER_PORT} !^443$