progrium/dokku — pull request #518 by nickl- (2014-04-01 01:05:36+00:00)
Title: Import ssl certificates - nginx plugin enhancement

This is just a simple addition to more readily expose the nginx plugin's excellent built in SSL support. I would imagine this is what was attempted through the `backup:import/export` capabilities and even though it would not work for me I don't see this as a replacement but merely a shorter path to a similar destination, why shouldn't we have both?

Stream a tarbal archive consisting of the certificates `ssl/server.crt` and `ssl/server.key` to be consumed via `stdin` on receipt and extracted into the application folder to trigger and produce the appropriate ssl configuration.

$ ssh nginx:import-ssl < archive-of-certs.tar