server { listen 80; listen [::]:80 default ipv6only=on; 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; } } server { server_name clickhouse.yandex.ru clickhouse.yandex.com; return 301 https://clickhouse.yandex$request_uri; }