Files
docker-cli/components/engine/docs/website/nginx.conf
Thatcher Peskens 85073c6e30 Moved the static website html pages to their own folder under docs.
This should make previewing documentation easier.
Also updated the Makefile to now copy the theme dir into the _build/website/ dir. Make connect and Make push work.
Upstream-commit: 0f4469c2b1164eab9bc6104913cf8dccacac214f
Component: engine
2013-05-08 17:05:46 -07:00

7 lines
262 B
Nginx Configuration File

# rule to redirect original links created when hosted on github pages
rewrite ^/documentation/(.*).html http://docs.docker.io/en/latest/$1/ permanent;
# rewrite the stuff which was on the current page
rewrite ^/gettingstarted.html$ /gettingstarted/ permanent;