Suppose you need to access ClickHouse cluster from anywhere by username/password.
This may be used for building graphs from ClickHouse-grafana or Tabix.
It is bad idea to transfer unencrypted password and data over untrusted networks.
So HTTPS must be used for accessing the cluster in such cases.
The following chproxy config may be used for this use case: