这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@michaelshobbs
Copy link
Member

Per IRC conversations, this was implemented as a (very simple) pluginhook. Includes tests.

close #860
refs #207
refs #557

@michaelshobbs michaelshobbs force-pushed the 860-mh-bind-to-internal-ip branch from db42f1c to 948d790 Compare January 3, 2015 00:28
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IPv6?

@michaelshobbs
Copy link
Member Author

Crap! I did not take that into account in this or the previous implementation. I'll take a look in the morning.

@michaelshobbs
Copy link
Member Author

Snagged an IPv6 regex from SO (http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses) and put it into the plugin and the domains one as well.

@josegonzalez
Copy link
Member

Build failed. Womp.

@michaelshobbs
Copy link
Member Author

Docker is having issues according to their rss

@michaelshobbs
Copy link
Member Author

Wercker sucks!!!!

@josegonzalez
Copy link
Member

lolol

@josegonzalez
Copy link
Member

Can you add some docs to this and then we can merge?

@michaelshobbs
Copy link
Member Author

Sure thing. Preference on the best place it should live? New md file or existing?

@michaelshobbs
Copy link
Member Author

Probably belongs in nginx, no?

@josegonzalez
Copy link
Member

In nginx probably. Feel free to reorder stuff as necessary.

@josegonzalez
Copy link
Member

Nice work. Merging and shipping a new release :)

josegonzalez added a commit that referenced this pull request Jan 6, 2015
bind docker container to internal port if using vhosts
@josegonzalez josegonzalez merged commit 566cc15 into master Jan 6, 2015
@josegonzalez josegonzalez deleted the 860-mh-bind-to-internal-ip branch January 6, 2015 00:58
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.

Bind nginx requests directly to docker internal IP

3 participants