Skip to content
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

Allow running dev-server behind https proxy #470

Merged
merged 1 commit into from
May 15, 2016
Merged

Conversation

nightwing
Copy link
Contributor

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

@buraktamturk
Copy link

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?

@sokra sokra merged commit 7fc08e8 into webpack:master May 15, 2016
@sokra
Copy link
Member

sokra commented May 15, 2016

Thanks

@pelx
Copy link

pelx commented Jun 15, 2017

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
GET https://0.0.0.0:8081/packs/application.js net::ERR_EMPTY_RESPONSE

regards

laura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants