kfei / docktorrent

:zap: Full-featured BitTorrent box runs in Docker
377 stars 65 forks source link

HTTPS Support #9

Open ghost opened 9 years ago

ghost commented 9 years ago

First of all thanks for this project,

I was wondering whether HTTPS is supported? I am not a big fan of exposing ruTorrent in HTTP only.

Thanks in advance for ur response,

JP

InAnimaTe commented 9 years ago

This would be nice, although, you could through nginx/haproxy or something else in front.

I did some work recently with importing SSL certs and keys through env variables. This might be a nice way to abstract away from people having to build their own image just to incorporate their SSL informations.

The only downside, and I'd have to check up on this, is that nsenter doesn't support entering containers which have env variables with spaces :(