Skip to content

Allow running dev-server behind https proxy - #470

Merged
sokra merged 1 commit into
webpack:masterfrom
nightwing:patch-1
May 15, 2016
Merged

sokra merged 1 commit into
webpack:masterfrom
nightwing:patch-1

Conversation

@nightwing

Copy link
Copy Markdown
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
Copy Markdown

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

sokra commented May 15, 2016

Copy link
Copy Markdown
Member

Thanks

@pelx

pelx commented Jun 15, 2017 •

Copy link
Copy Markdown

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