The following article introduced how to use Nginx to enable HTTPS service for your website
Basically, we create an Nginx proxy server as our frontend server. The HTTPS connection is built between the browser and the Nginx server. Then the Nginx server talks to other backend servers, such as NodeJS server, in plain HTTP on docker local network.
The key configuration file is nginx.conf. We can configure multi domains on a single IP address, configure round robin load balance, etc.
The TLS certificate is get from letsencrept for free.