wmluke / dokku-domains-plugin

Dokku plugin to create nginx vhost with multiple domains
MIT License
176 stars 21 forks source link

Doesn't survive rebuild #3

Closed darkpixel closed 10 years ago

darkpixel commented 10 years ago

If I issue the command:

domains:set myapp myapp.com www.myapp.com

I am able to access the app correctly at myapp.com, www.myapp.com and the default myapp.apphost.mydomain.com (the wildcard domain pointed at the dokku server)

If I issue the command:

rebuild myapp

The app rebuilds, and I am only able to access the site through myapp.apphost.mydomain.com, requiring me to re-run the domains:set command

darkpixel commented 10 years ago

The domain settings also don't appear to survive a 'git push'

wmluke commented 10 years ago

Interesting. What version dokku-domains-plugin are you running? This should have been resolved in v0.1.1 in the fix for #1.

darkpixel commented 10 years ago

Yup--somehow git was in a detached HEAD. Checking out master fixed it. Sorry for the noise.