An open API service indexing awesome lists of open source software.

https://github.com/krisrang/dokku-domains

[DEPRECATED] Dokku custom domains and SSL plugin
https://github.com/krisrang/dokku-domains

Last synced: 3 months ago
JSON representation

[DEPRECATED] Dokku custom domains and SSL plugin

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/krisrang/dokku-domains.png?branch=master)](https://travis-ci.org/krisrang/dokku-domains)

Dokku domains plugin
=====

**Deprecated: dokku >= 0.3.10 already has this functionality built in**

[Dokku](https://github.com/progrium/dokku) plugin to set custom domains for dokku apps.

Installation
-----

* Requires Ruby >= 1.9.3 present on the host

```bash
git clone https://github.com/krisrang/dokku-domains.git /var/lib/dokku/plugins/domains
```

Commands
-----

```bash
$ dokku help
domains display the domains for an app
domains:set DOMAIN1 [DOMAIN2 ...] set one or more domains
```

Sample usage
-----

Add extra domains for superapp:

```bash
$ dokku domains:set superapp www.superapp.com ssl.superapp.com
-----> Setting superapp domains to: www.superapp.com ssl.superapp.com
```

Now superapp will respond to superapp.HOST, www.superapp.com and ssl.superapp.com

TODO
-----
* Add tests
* Add domains:add and domains:remove commands

License
-----
MIT