Giter Club home page Giter Club logo

Comments (2)

sfount avatar sfount commented on May 24, 2024

Agreed. I made an issue on this on the previous repository - serving node
over HTTP (with a reverse proxy to serve HTTPS). I think this flag is a
reasonable compromise as it is crucial the production builds use HTTPS.
On 4 Feb 2016 10:51 a.m., "Jonathan Niles" [email protected] wrote:

This proposal concerns the bhima build system.

I propose that we allow optional SSL. In production, you should always
use HTTPS to protect your data; however, many virtualization and testing
frameworks do not support SSL. It would certainly make our integration and
end to end tests more clear.

To accomplish this, we will include the following flag in the .env
environmental variables:

  • BHIMA_USE_TLS = { 0 || 1 }

We should also rename the previous TLS_CERT and TLS_KEY flags to use the
BHIMA prefix.

An application built with TLS will continue to function as the current
build. An app built without TLS enabled will import http instead of https
and not require the certificate or keys to be imported.

Finally, if the application is not built with TLS, there should be
prominent console warnings on boot up, telling the user that running data
over an unencrypted network is dangerous.


Reply to this email directly or view it on GitHub
#76.

from bhima.

jniles avatar jniles commented on May 24, 2024

Awesome, I'll have a PR in tomorrow with this change. I'm running into bizarre errors in #74, and this would reduce one variable.

from bhima.

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.