tune nginx config

This commit is contained in:
Ivan Blinkov 2017-05-30 18:37:07 +03:00
parent 4a86ffd3a0
commit fefd8ad202

View File

@ -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 {