浏览代码

Merge pull request #5458 from SvenDowideit/add-redirects-for-docker-io-pr-5414

add redirects from index/ -> docker-io/ and for the docker-io_api too
O.S. Tezer 11 年之前
父节点
当前提交
797a4151a0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/s3_website.json

+ 2 - 0
docs/s3_website.json

@@ -10,6 +10,8 @@
     { "Condition": { "KeyPrefixEquals": "en/master/" }, "Redirect": { "ReplaceKeyPrefixWith": "" } },
     { "Condition": { "KeyPrefixEquals": "en/v0.6.3/" }, "Redirect": { "ReplaceKeyPrefixWith": "" } },
     { "Condition": { "KeyPrefixEquals": "jsearch/index.html" }, "Redirect": { "ReplaceKeyPrefixWith": "jsearch/" } }
+    { "Condition": { "KeyPrefixEquals": "index/" }, "Redirect": { "ReplaceKeyPrefixWith": "docker-io/" } },
+    { "Condition": { "KeyPrefixEquals": "reference/api/index_api/" }, "Redirect": { "ReplaceKeyPrefixWith": "reference/api/docker-io_api/" } },
   ]
 }