diff --git a/website/nginx/default.conf b/website/nginx/default.conf index 246aff29120..fe6003cd6be 100644 --- a/website/nginx/default.conf +++ b/website/nginx/default.conf @@ -1,19 +1,19 @@ server { - listen 80; + listen 80 default; listen [::]:80 default ipv6only=on; + server_name localhost clickhouse.yandex; root /usr/share/nginx/html; index index.html index.htm; - server_name localhost; - 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; } server {