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

Conversation

@michaelshobbs
Copy link
Member

added regex to bind-external-ip as well
includes test

refs #1005

avidal and others added 2 commits March 19, 2015 11:23
http://xip.io

xip.io is a service by Basecamp that provides a wildcard DNS service on the public internet. Any <ip address>.xip.io will return a DNS response for the IP address, same with <subdomain>.<ip address>.xip.io.

The domains plugin in dokku uses a regex to match IP4 and IP6 addresses in the VHOST file, and disables VHOST support if found. This PR changes those patterns to require that the VHOST entry **ends with** the IP address.

This is a gist where my VHOST setting is "127.0.0.1.xip.io" that demonstrates the original output, linked directly to the line from `plugins/domains/commands`: https://gist.github.com/anonymous/c529177f20b36beda80d#file-debug-log-L1373
michaelshobbs added a commit that referenced this pull request Mar 19, 2015
Update to Support xip.io wildcard DNS as a VHOST
@michaelshobbs michaelshobbs merged commit 65af77e into master Mar 19, 2015
@michaelshobbs michaelshobbs deleted the 1005_mh-add-xip-test branch March 19, 2015 20:17
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.

3 participants