Running ipfs api on https

From @shayzlufsynereo on Wed Mar 29 2017 09:11:37 GMT+0000 (UTC)

Can I run ipfs api on https?
How do I configure it?

Copied from original issue: https://github.com/ipfs/support/issues/54

From @lidel on Wed Mar 29 2017 15:59:10 GMT+0000 (UTC)

AFAIK HTTPS is not supported by go-ipfs.
You need to use TLS termination proxy (eg. Nginx, HAProxy, etc).