Git Product home page Git Product logo

Comments (5)

ReinerNippes avatar ReinerNippes commented on August 31, 2024

since this more a traefik problem I would advice to ask this question in the traefik forum. or?

from nextcloud_on_docker.

signedbit avatar signedbit commented on August 31, 2024

Hi Reiner, asked here since a fresh clone of this playbook produces the issue. Last time I cloned your repo was a year ago and it worked perfectly (same host, same server, same provision.) Traefik forum would probably point me back to here.

from nextcloud_on_docker.

Pokerkoffer avatar Pokerkoffer commented on August 31, 2024

nginx is not listening on ipv6. I stumbled across the same error. You can easily confirm this by entering the ipv6 address in your browser or run curl -v [< ipv6 >].

I am currently trying to figure out what went wrong and will post my results.

from nextcloud_on_docker.

signedbit avatar signedbit commented on August 31, 2024

Following up. I dug through the documentation and figured out that the following diff succeeds. @ReinerNippes if I submit a PR will you merge it?

$ git diff roles/docker_container/templates/traefik.yaml.j2
diff --git a/roles/docker_container/templates/traefik.yaml.j2 b/roles/docker_container/templates/traefik.yaml.j2
index 3e144d9..60e131d 100644
--- a/roles/docker_container/templates/traefik.yaml.j2
+++ b/roles/docker_container/templates/traefik.yaml.j2
@@ -37,7 +37,9 @@ certificatesResolvers:
     acme:
       email: "{{ ssl_cert_email }}"
       storage: 'acme.json'
-      tlsChallenge: {}
+      #tlsChallenge: {}
+      httpChallenge:
+        entryPoint: web
 {% endif %}
 {% if acme_provider is defined %}
       dnsChallenge: 

I don't remember exactly why it works, this was months ago. There are still some scary messages in Traefik debug logs, but NextCloud over TLS works fine.

from nextcloud_on_docker.

ReinerNippes avatar ReinerNippes commented on August 31, 2024

I would like to enable all three acme challenge methods.
https://doc.traefik.io/traefik/https/acme/#the-different-acme-challenges

Let me figure out how to make it easy for users how to setup the correct challenge method with ansible variables.

from nextcloud_on_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.