Actually include redirects.conf

This commit is contained in:
Ivan Blinkov 2018-07-09 18:09:16 +03:00
parent d249cea22f
commit 4a43773134
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
test.md roadmap.md

View File

@ -18,6 +18,8 @@ server {
rewrite ^/reference_ru.html$ https://clickhouse.yandex/docs/ru/single/ permanent;
rewrite ^/presentations/(.*)$ https://yandex.github.io/clickhouse-presentations/$1 permanent;
include /usr/share/nginx/html/docs/redirects.conf;
if ( $uri !~ .*/index.html ){
rewrite ^/docs/(.*)/(.+)\.html$ /docs/$1/$2/ permanent;
}