This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch refactor/next-2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/refactor/next-2 by this push:
new 5f41238a27 Update htaccess
5f41238a27 is described below
commit 5f41238a270e9668da3d5e19db8a4eba92107da0
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Feb 9 19:08:58 2023 +0800
Update htaccess
---
.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/.htaccess b/.htaccess
index 561f5b4e2c..e6123d81d5 100644
--- a/.htaccess
+++ b/.htaccess
@@ -20,6 +20,7 @@
RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=302]
RewriteCond %{SERVER_PORT} !^443$
+ RewriteCond %{HTTP_HOST} !static
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]