upstream clickhouse_cluster {
    server clickhouse1:8123;
    server clickhouse2:8123;
}

server {
    listen 8123;
    client_max_body_size 100M;
    location / {
        proxy_pass http://clickhouse_cluster;
    }
}
