Browse code

Added redirect from old location of documentation (/documentation), these was the location when we were on github.

Thatcher Peskens authored on 2013/04/19 08:00:18
Showing 2 changed files
... ...
@@ -51,6 +51,7 @@ docs:
51 51
 	cp sources/dotcloud.yml $(BUILDDIR)/html/
52 52
 	cp sources/CNAME $(BUILDDIR)/html/
53 53
 	cp sources/.nojekyll $(BUILDDIR)/html/
54
+	cp sources/nginx.conf $(BUILDDIR)/html/
54 55
 	@echo
55 56
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
56 57
 
57 58
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+
1
+# rule to redirect original links created when hosted on github pages
2
+rewrite ^/documentation/(.*).html http://docs.docker.io/en/latest/$1/ permanent;
3
+