greyltc / docker-owncloud

Arch linux based docker container with owncloud
111 stars 37 forks source link

version 8.1 has removed the force https checkbox #37

Closed l3iggs closed 8 years ago

l3iggs commented 9 years ago

This means (for now) there's no easy way to ensure all traffic is encrypted no matter what.

I need to come up with some other easily configurable way for the user to force https if they wish.

Probably I'll have to use an environment variable passed via the docker command line which modifies the apache config file.

tapir commented 9 years ago

:+1: I was looking for a way to do this.

greyltc commented 8 years ago

I'm thinking there's no reason to ever run ownCloud without https. In fact, I'm planning on completely disabling the http server so that ownCloud can only be accessed via https (making this issue moot).

tapir commented 8 years ago

for testing purposes it's good have this option.

greyltc commented 8 years ago

Yeah, I guess if you're messing with setting up your SSL cert files and something is not working, it's nice to be able to make sure the site can be reached via the non-ssl route, but does that single use case really justify leaving the insecure http portal running by default for every single install?

greyltc commented 8 years ago

With my commit c3452cbb25ed1395c13488eddddeb5101b60e751, visiting the server via http now results in an error message instructing the user to use https instead.

If you'd really like to allow http traffic to your ownCloud (like for testing), you can put -e ALLOW_INSECURE=true into the docker run command you use to launch the container.