Skip to content

Commit

Permalink
Added port so that the service-name of static is independent
Browse files Browse the repository at this point in the history
  • Loading branch information
hpwjnijs committed May 17, 2024
1 parent a808e2c commit 750777e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ services:
- "traefik.http.routers.static.tls=true"
- "traefik.http.routers.static.rule=Host(`georchestra-127-0-1-1.traefik.me`)"
- "traefik.http.routers.static.priority=1"
- "traefik.http.services.static.loadbalancer.server.port=80"

proxy:
labels:
Expand Down Expand Up @@ -91,7 +92,7 @@ services:
- "traefik.http.routers.proxy.middlewares=corsheader@docker,static-errors-middleware@docker"
# handle downstream errors
- "traefik.http.middlewares.static-errors-middleware.errors.status=500-599"
- "traefik.http.middlewares.static-errors-middleware.errors.service=static-docker@docker"
- "traefik.http.middlewares.static-errors-middleware.errors.service=static@docker"
- "traefik.http.middlewares.static-errors-middleware.errors.query=/errors/50x.html"
# Add trailing slash to well-known apps
- "traefik.http.routers.traefik-redirect.tls=true"
Expand Down

0 comments on commit 750777e

Please sign in to comment.