Code Monkey home page Code Monkey logo

Comments (1)

franciscop avatar franciscop commented on May 22, 2024

I actually thought that this was really common, but after searching for a while [1] [2] [3] [4] [5] [6] this pattern of loading the SSL through Node.js doesn't seem to be popular at all. The main reason is that the instance is behind a place and you can add the SSL straight there, as this has many added benefits.

So this is not abandoned, I just think it doesn't make sense to rush it through the 1.0.0 so it's being pushed down quite hard on the priority list.

If you really want to use server and you really want to support SSL in this way through Node.js, see about replacing the listen method of the express plugin for a custom one. This is officially not supported at all, won't be following SEMVER and you are responsible to set up ctx.server so websockets and others work properly later on.

[1] Cloudflare: through the proxy (I normally use this) https://revs.runtime-revolution.com/easy-ssl-with-heroku-cloudflare-62fc8535d6d4
[2] Heroku: through their platform https://devcenter.heroku.com/articles/ssl-endpoint
[3] Digital Ocean 1: Apache https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-centos-6
[4] Digital Ocean 2: Nginx https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04
[5] AWS: https://aws.amazon.com/certificate-manager/
[6] AWS 2: https://stackoverflow.com/a/44122928/938236

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.