What approach would you Recommend I take to set up https in a node app?

This page summarizes the projects mentioned and recommended in the original post on /r/docker

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Caddy

    Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

  • I'd look into Caddy or Traefik. Both are reverse proxies. Even though you mentioned you want to avoid them I strongly recommend you reconsider.

  • greenlock-express.js

    Free SSL and Automatic HTTPS (ACME / Let's Encrypt v2 client) for node.js with Express, Connect, and other middleware systems

  • No reverse proxy, proper integration: Add something like the greenlock-express npm module to your Node app. It will handle the SSL integration for you – create the certs, add them to your server config and renew them when necessary.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • traefik

    The Cloud Native Application Proxy

  • Reverse proxy, docker-style: If the services you run (in your case a Node app) live in a docker container, you can also use a Reverse Proxy that is built for docker or has docker integration. This can be Traefik, for nginx you can use the wildly popular nginx-proxy image or for Caddy there's caddy-docker-proxy.

  • caddy-docker-proxy

    Caddy as a reverse proxy for Docker

  • Reverse proxy, docker-style: If the services you run (in your case a Node app) live in a docker container, you can also use a Reverse Proxy that is built for docker or has docker integration. This can be Traefik, for nginx you can use the wildly popular nginx-proxy image or for Caddy there's caddy-docker-proxy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts