mikexstudios / dokku-nginx-alt

Alternative nginx plugin for dokku. Supports multiple domains and custom nginx.conf.
35 stars 26 forks source link

Properly check for SSL Subject Alternative domain. #18

Open jessearmand opened 9 years ago

jessearmand commented 9 years ago

Hi, I noticed that if I create an SSL certificate without a Subject Alternative Name, the post-deploy script will just fail and kill the dokku deploy process. This change is checking whether that particular command is successful.

If it's empty, skip the alternative domain, should not fail the script