Repository navigation
Allow running dev-server behind https proxy - #470
Merged
Merged
Conversation
This was referenced May 5, 2016
|
Is there any update on this PR? I am using forked version of this library, however it complicates things on my side. Is there any reason to not merge this at all? |
Member
|
Thanks |
|
I have spent many hours trying webpack-dev-server make working with Rails in Cloud 9 . It didn't work. I let Rails to serve assets instead. I am still curious. As far as I can see a lot of developers struggling with similar issue. It seems that rails, webpack-dev-server and Cloud 9 limitations (htpps?) impossible to configure to work together. If I use port 8080 for rails and 8081 for webpack-dev-server I get https://0.0.0.0:8081/packs/application.css net::ERR_EMPTY_RESPONSE regards laura |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forces use of https protocol when window.location.protocol is https
This is useful in cases when the server is behind https proxy, and shouldn't break anything since browsers block http access from https page anyway.
see https://community.c9.io/t/mixed-content-with-webpack-dev-server/3053/3