# Nexus Repository Manager behind traefik issue

**URL:** https://community.sonatype.com/t/nexus-repository-manager-behind-traefik-issue/261
**Category:** Sonatype Nexus Repository
**Tags:** help
**Created:** [July 24, 2018, 3:15pm UTC](https://community.sonatype.com/t/nexus-repository-manager-behind-traefik-issue/261 "2018-07-24T15:15:55Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![jigarjian\_brian](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jigarjian\_brian](https://community.sonatype.com/u/jigarjian_brian)
#### Post date: [July 24, 2018, 3:15pm UTC](https://community.sonatype.com/t/nexus-repository-manager-behind-traefik-issue/261/1 "2018-07-24T15:15:55Z")

</div>

I am trying to run nexus as a docker service in our docker swarm, but although the service is up and running, the web page simply shows “initializing” with a few mini image icons.  
We are using traefik as our proxy/load balancer also running in the swarm and using traefik labels to redirect traffic based on the url to the correct running service on the backend. I have attached the stack file that we are using to spin up the service. Traefik listens for the path [sandbox.ui.docker.bah.com/nexus](http://sandbox.ui.docker.bah.com/nexus) and forwards to the nexus container on port 8081, but for some reason we receive the screenshot showed below. I have tried changing the port the nexus app is running on to 8080 and adding the X-Forwarded-Proto:https label to traefik, but am not sure what the actual issue is.  
I am able to run nexus as a standalone container and see the ui, but we want to run it as a service behind traefik.

The issue seems to be that the images, gifs, and js for the welcome page are not loading and are sending a 404 not found error. I think this is because they are looking at [sandbox.ui.docker.bah.com/pathtoimages](http://sandbox.ui.docker.bah.com/pathtoimages) instead of /nexus/pathtoimages and I am not sure how to fix this.

I submitted a support ticket with sonotype support and they recommended I change the web app context path

ie. sonatype-work/nexus3/etc/nexus.properties should contain

nexus-webapp-context=/nexus

If anyone has any experience running nexus behind traefik or has an idea of what might be wrong your assistance would be greatly appreciated. Thanks.

---

_[View the full topic](https://community.sonatype.com/t/nexus-repository-manager-behind-traefik-issue/261)._
