https redirect and 301 instead of 302

Https redirects: https://github.com/dokku-alt/dokku-alt/issues/99

301 instead of 302: https://github.com/dokku-alt/dokku-alt/issues/86
adding ssl on; to redirect

Not sure if its needed... but it works on my setup.  Works either way.
Merge pull request #102 from that0n3guy/master

https redirect and 301 instead of 302