mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
387cbca505
* Create SECURITY.md
* [experimental] auto-mark documentation PRs with labels
* revert #6544
* Sync RPM packages instructions to other docs languages
* Move tutorial to documentation with old content (for now)
* refactor installation guide a bit
* add ../en/getting_started/index.md
* Rename ya_metrica_task.md
* Rename ya_metrica_task.md
* Refactor Yandex.Metrica dataset description
* WIP on rewriting tutorial
* tmp commit
* lots of docs fixes
* partially revert c136bee4ce
* try to fix docs build in CI
* try to fix docs build in CI
* few minor improvements
* Quick refactoring of last portion of tutorial (not thoroughly tested though)
* fix link
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
server {
|
|
listen 80 default;
|
|
listen [::]:80 default ipv6only=on;
|
|
server_name localhost clickhouse.yandex test.clickhouse.yandex;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html index.htm;
|
|
|
|
error_page 404 /404.html;
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
location = /50x.html {
|
|
root /usr/share/nginx/www;
|
|
}
|
|
|
|
rewrite ^/docs/$ https://clickhouse.yandex/docs/en/ permanent;
|
|
rewrite ^/tutorial.html$ https://clickhouse.yandex/docs/en/getting_started/tutorial/ permanent;
|
|
rewrite ^/presentations/(.*)$ https://clickhouse.github.io/clickhouse-presentations/$1 permanent;
|
|
rewrite ^/reference_en.html$ https://clickhouse.yandex/docs/en/single/ permanent;
|
|
rewrite ^/reference_ru.html$ https://clickhouse.yandex/docs/ru/single/ permanent;
|
|
rewrite ^/presentations/(.*)$ https://clickhouse.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;
|
|
}
|
|
}
|
|
|
|
server {
|
|
server_name clickhouse.yandex.ru clickhouse.yandex.com;
|
|
return 301 https://clickhouse.yandex$request_uri;
|
|
}
|