-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect http requests to https with spdy #293
Comments
+1 |
I agree that you need do this in webserver (nginx/apache) A example in nginx:
|
Some of us might not want to have an apache or nginx in front of our node app. How can this be done using spdy directly? |
Add a second server listener using the "normal" node http (1.1) package on port 80, which returns a |
@n1try sounds good, thanks :) |
That is a way to do it, but it might not be the solution you are looking for since it will stop you from using spdy/h2 benefits, i.e: you won't be able to do push streams. This module API maps to Node.js http module, the example here https://github.com/spdy-http2/node-spdy#examples should be the answer you are looking for, have you tried it so far? |
How do I get to work this?
The text was updated successfully, but these errors were encountered: