0

Trouble with Traefik Reverse Proxy

Ken Vermillion 4 years ago updated by Jon Molina 4 years ago 1
anyone familiar with traefik v2 labels and ubooquity in docker compose?  I get a 404 error when trying to hit both the admin and library sites via ubooquity.domain

https://gist.github.com/bigverm23/db74516ceef08971489688143d478c1e

in your ubooquity block change line 110 - "traefik.http.routers.ubooquity-rtr.rule=Host(`ubooquity.$DOMAINNAME`) && Path(`/ubooquity/`))"

to


- "traefik.http.routers.ubooquity-rtr.rule=Host(`ubooquity.$DOMAINNAME`) && PathPrefix(`/ubooquity`)"


Good Luck!