deploy:
replicas: 1
placement:
constraints:
- node.hostname == web
labels:
- "traefik.enable=true"
- "traefik.http.routers.lemmy.tls=true"
- "traefik.http.services.lemmy.loadbalancer.server.port=1234"
- "traefik.http.routers.lemmy.rule=Host(`lemmy.example.com`)"
- "traefik.http.routers.lemmy.entrypoints=websecure"
- "traefik.http.routers.lemmy.tls.certresolver=letsencryptresolver"
- "traefik.http.routers.lemmy.service=lemmy"
- "traefik.docker.network=traefik"
- 'traefik.http.routers.lemmy.middlewares=authelia@docker'
c/lemmy_support
You should also look into the accept headers, and request method:
I’ll post what I’ve sleuthed out so far.