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 747d838a8f Update .htaccess
747d838a8f is described below
commit 747d838a8f0c3248481f77eef27312da26f22e1e
Author: Albumen Kevin <[email protected]>
AuthorDate: Sat Feb 4 12:00:53 2023 +0800
Update .htaccess
---
.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/.htaccess b/.htaccess
index 2c8c9fb977..5fbc558598 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]