This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch next-asf-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/next-asf-site by this push:
     new d18a120fdc deploy: 5f41238a270e9668da3d5e19db8a4eba92107da0
d18a120fdc is described below

commit d18a120fdcd94a94ab713d11583162b70dbc717c
Author: AlbumenJ <[email protected]>
AuthorDate: Thu Feb 9 11:13:53 2023 +0000

    deploy: 5f41238a270e9668da3d5e19db8a4eba92107da0
---
 .htaccess   | 1 +
 sitemap.xml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

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]
diff --git a/sitemap.xml b/sitemap.xml
index 7b6b124f1c..917aa65a5c 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";><sitemap><loc>http://static.dubbo.apache.org:8080/zh-cn/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod></sitemap><sitemap><loc>http://static.dubbo.apache.org:8080/en/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";><sitemap><loc>http://static.dubbo.apache.org:8080/en/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod></sitemap><sitemap><loc>http://static.dubbo.apache.org:8080/zh-cn/sitemap.xml</loc><lastmod>2023-02-09T17:22:57+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file

Reply via email to