I try to configure nexus behind traefik by file but nexus answer by 404 and assets are from root of domain.
Do I have to force middleware with some headers ?
How traefik will give the good path to nexus ?
Nothing seems to have the corresponding header https://help.sonatype.com/repomanager3/installation/run-behind-a-reverse-proxy
[entryPoints] [entryPoints.web] address = ":80" [providers] [providers.file] filename = "/etc/traefik/dynamic.toml" watch = true [api] insecure = true dashboard = true debug = true [log] filePath = "/log/traefik.log" level = "INFO" [accessLog] filePath = "/log/access.log"
[http.routers] [http.routers.nexus] entryPoints = ["web"] rule = "PathPrefix(`/nexus`)" service = "nexus" [http.services] [http.services.nexus.loadBalancer] [[http.services.nexus.loadBalancer.servers]] url = "http://team-server_nexus_1:8081"
version: '3' services: reverse-proxy: image: traefik:v2.0 ports: - "80:80" volumes: - './traefik:/etc/traefik' - '/srv/traefik/log:/log' nexus: image: 'sonatype/nexus3' volumes: - '/srv/nexus/data:/nexus-data'
and i have some traces in logfile telling that dynamic.toml is not found each time I change it and the configuration is well changed (i see it in traefik dashboard but i don't let it active all time)