Configuring HTTPS on Cloudhub VPC

Sometimes there is a need to use Virtual Private Cloud (VPC) on Cloudhub to forbid connections from outside of the Cloudhub environment.

To increase security, HTTPS protocol is highly recommended. In usual case, the properties defining ports for HTTP/HTTPS are http.port and https.port which Cloudhub translates to 8081 and 8082. However, the usage of VPC requires a different approach. Properties http.internal.port and https.internal.port must be defined instead of http.port and https.port, with values 8091, 8092, and utilized in your HTTP configurations.

about author



June newsletter: Features you can’t miss

React 18 features After a long break, the React team …

Inside Nestjs project

Nestjs is an enterprise-grade backend server solution based on Node.js …

newsletter violet

May newsletter: With the right build tool, the work goes smoothly

Comparing next gen build tools Implementation of the support for …