put redirect back

This commit is contained in:
Ivan Blinkov 2017-05-30 19:11:39 +03:00 committed by alexey-milovidov
parent 43d1467233
commit 86a3fcaec4

View File

@ -1,7 +1,7 @@
server { server {
listen 80 default; listen 80 default;
listen [::]:80 default ipv6only=on; listen [::]:80 default ipv6only=on;
server_name localhost clickhouse.yandex; server_name localhost clickhouse.yandex test.clickhouse.yandex;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
@ -12,6 +12,8 @@ server {
location = /50x.html { location = /50x.html {
root /usr/share/nginx/www; root /usr/share/nginx/www;
} }
rewrite ^/docs/$ https://clickhouse.yandex/docs/en/ permanent;
} }
server { server {