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

Conversation

@u2mejc
Copy link
Contributor

@u2mejc u2mejc commented Nov 14, 2015

Resolves #1614

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This disables globbing which was causing the *.balh to disappear from the end.

@michaelshobbs
Copy link
Member

the previous egrep command is a regex match that looks for the fixed string. ^ is beginning of the line and $ is end of line. So it translates to matching a fixed string. Maybe I'm missing the point here?

@michaelshobbs
Copy link
Member

Oh I'm dumb. In the wildcard case, egrep will treat the string as a regexp.

@michaelshobbs
Copy link
Member

However this does break adding domains that match substrings....
i.e.

root@dokku:~/dokku# dokku apps:create testapp
Creating testapp... done
root@dokku:~/dokku# dokku domains:add testapp www.test.dokku.me
-----> Creating new /home/dokku/testapp/VHOST...
-----> Setting config vars
       DOKKU_NGINX_PORT: 80
-----> Configuring testapp.dokku.me...
-----> Configuring www.test.dokku.me...
-----> Creating http nginx.conf
-----> Configuring testapp.dokku.me...
-----> Configuring www.test.dokku.me...
-----> Creating http nginx.conf
-----> Added www.test.dokku.me to testapp
root@dokku:~/dokku# dokku domains:add testapp test.dokku.me
test.dokku.me is already defined for testapp
root@dokku:~/dokku# dokku domains testapp
=====> testapp Domain Names
testapp.dokku.me
www.test.dokku.me

@josegonzalez
Copy link
Member

Closing in favor of #1709. Thanks for the initial work @u2mejc!

michaelshobbs added a commit that referenced this pull request Nov 19, 2015
fix Must specify DOMAIN error over ssh (supercedes #1691)
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