We recommend using web server or load balancer to offload SSL traffics. and passthrough traffics to CodiMD server with plain HTTP protocol.
In here we provide three kinds of popular web servers or load balancers configuration. You can choose your favorite one: