alexjustesen / speedtest-tracker-docs

Docs for Speedtest Tracker.
https://docs.speedtest-tracker.dev/
17 stars 23 forks source link

Add instructions for Traefik reverse proxy with SSL #2

Closed bdowden closed 1 year ago

alexdelprete commented 1 year ago

Two things:

  1. I would add a note: "when using traefik, make sure to map the https port of the container, otherwise there will be a mixed-content error when browsing the site."
  2. I would also add an example of dynamic config for those (like me) who don't use docker tags for traefik integration:
  routers:

    speedtest:
      entryPoints:
        - websecure
      rule: Host(`speedtest.domain.net`)
      middlewares:
        - secured-auth
      tls: {}
      service: speedtest

  services:

    speedtest:
      loadBalancer:
        servers:
          - url: "https://docker2.internal.dom:8008"
        passHostHeader: true