Coder Social home page Coder Social logo

Deployment HOWTO? about doorman HOT 7 CLOSED

ahammond avatar ahammond commented on May 23, 2024
Deployment HOWTO?

from doorman.

Comments (7)

ahammond avatar ahammond commented on May 23, 2024

Or just https request -> doorman -> foo where doorman handles the https, too.

from doorman.

sumeetp102 avatar sumeetp102 commented on May 23, 2024

It doesn't look like you need nginx b/c it is a proxy as well?

from doorman.

mnutt avatar mnutt commented on May 23, 2024

Yes, doorman can handle both http and https and doesn't need nginx in front of it. When doorman was released, nginx didn't have websockets support so couldn't be placed in front of it; now it can but it's still a potentially more complicated setup.

from doorman.

ahammond avatar ahammond commented on May 23, 2024

Ok, so... my setup should be https request -> doorman -> foo. Is there an example setup like this? A document that demonstrates the very basics of getting this up and running would really help.

from doorman.

sumeetp102 avatar sumeetp102 commented on May 23, 2024

There is the conf.example.js. It's got a basic setup of how to do this. I'm not sure how to add multiple hosts (ie, listen on 443 and then redirect based on hostname) or where to put certs for https but the basic conf.js (which you will make a copy of conf.example.js) file will at least get you http to a single server w/ oath.

Oh, and then when the file is ready just run node /path/to/app.js

from doorman.

mnutt avatar mnutt commented on May 23, 2024

I'll work on putting together a guide to better explain the setup process.

I haven't done a lot of work on the multiple virtualhost side of things because unfortunately IIRC Github will only let you use one domain per app so it would require a lot of configuration and multiple Github app keys.

from doorman.

ahammond avatar ahammond commented on May 23, 2024

@mnutt that'd be fantastic! I expect there to be substantial configuration, and I expect there to be multiple GH app keys, but just getting this working at all would be a big win for me. As an aside, something like the nginx model for configs where I can include a directory (one file per service / app I'm publishing) would be a huge win. My goal is to have this as a saltstack formula that is trivial to apply to pretty much any app.

from doorman.

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.