Comments (7)
Or just https request -> doorman -> foo where doorman handles the https, too.
from doorman.
It doesn't look like you need nginx b/c it is a proxy as well?
from doorman.
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.
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.
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.
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.
@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)
- Replacing Nginx Basic Auth HOT 1
- How do I configure multiple vhosts? HOT 3
- Change timeout of tokens HOT 1
- Error configuring github access proxy in doorman. HOT 3
- not getting github callback url right
- Cannot start doorman HOT 1
- Custom redirects - what were the issues ? HOT 2
- Add Doorman config file initialized from environment vars HOT 1
- Startup failure HOT 2
- Using with Custom OAuth Server
- Is it possible to tell google which domain we are authenticating for?
- Need some help setting this up
- Proper release tags would help packaging HOT 1
- Would like to see ability to specify a small set of path prefixes to just deliver static content
- Would like the authorization list to be able to operate in 'or' mode instead of 'and'
- Is username or email available to backend? HOT 3
- Multiple backends HOT 3
- Is it possible to exclude some URLs from auth'ing? HOT 3
- Create official 'movableink/doorman' Docker image on Docker Hub HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doorman.