Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Work around webpack-dev-server hostname checking requirement #275

Merged
merged 1 commit into from
May 25, 2017

Conversation

lox
Copy link
Contributor

@lox lox commented May 25, 2017

To fix security things, webpack-dev-server added a check for hostname in webpack/webpack-dev-server#887.

Unfortunately, they also used that host check as the address to bind to, with only 127.0.0.1 and localhost as exceptions. This breaks docker containers or proxies.

The workaround is to set up a host entry in the container for buildkite.dev to point to 0.0.0.0. This then still has the hostname check, but it binds to the correct interface in the container.

@lox
Copy link
Contributor Author

lox commented May 25, 2017

Insta-merging given I'm the only consumer of these docker containers.

@lox lox merged commit 18dff4b into master May 25, 2017
@lox lox deleted the workaround-webpack-dev-server-weird-host-binding branch May 25, 2017 05:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant