kromsam
January 14, 2021, 11:43pm
15
This seemed to be the key. I found some topics concerning this:
https://www.reddit.com/r/selfhosted/comments/f7mytc/linuxserverionextcloud_with_traefik_20/fict7m4/
I’m running a whole suite of linuxserver containers using docker-compose and Ironic Badger’s awesome Debian server guide. While I began using dynamic DNS (ddns.info) in the first instance, I’ve since gotten a proper domain name and a static IP...
Reading time: 1 mins 🕑
Likes: 1 ❤
Which eventually led me here:
I have a fully working install of nextcloud 18.0.3 hosted using docker-compose on a debian linux homeserver (versions etc. below), which I’m trying to migrate from a setup that uses an nginx self-signed certificate to lets-encrypt certificates served by traefik 1.7 (also running in a docker container) as wildcard domains . Traefik is working for a dozen or so other services on this server.
I’ve worked through forums here, on https://community.containo.us and on discourse.linuxserver.io and am fa…
Where you already solved this issue!
I removed these lines: https://github.com/linuxserver/docker-nextcloud/blob/master/root/defaults/default#L6-L12
Do I need to do more than this?
I also tried another option: to change port 80
port 443
and leave the default
file as is. Because I would prefer to change as little as possible in my docker container config files.
- "traefik.http.services.nextcloud-secure.loadbalancer.server.port=443"
but that gave me this error:
400 Bad Request
The plain HTTP request was sent to HTTPS port
Do you think a solution like this would be possible?