Dokku plugin to create nginx vhost with multiple domains.
As of v0.3.10, Dokku ships with a built-in domains plugin, which can also support SSL. To uninstall this plugin, see #15.
git clone https://github.com/wmluke/dokku-domains-plugin.git /var/lib/dokku/plugins/domains-plugin
dokku plugins-install
$ dokku help
domains <app> display the domains for an app
domains:set <app> DOMAIN1 [DOMAIN2 ...] set one or more domains
Your need to have app running with the same name!
Create vhost with multiple domains:
$ dokku domains:set myawesomeapp.com www.myawesomeapp.com # Server side
$ ssh dokku@server domains:set myawesomeapp.com www.myawesomeapp.com # Client side
MIT