mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
tune nginx config
This commit is contained in:
parent
4a86ffd3a0
commit
fefd8ad202
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user