Skip to content

Instantly share code, notes, and snippets.

@milk1000cc
Created March 31, 2023 10:22
Show Gist options
  • Save milk1000cc/29d9997c9bd33f057e92fa64c5568fdd to your computer and use it in GitHub Desktop.
Save milk1000cc/29d9997c9bd33f057e92fa64c5568fdd to your computer and use it in GitHub Desktop.
mrsk v0.10.1 + traefik XXX Instead of 404
# config/deploy.yml
traefik:
options:
label:
# https://doc.traefik.io/traefik/getting-started/faq/#xxx-instead-of-404
# https://community.traefik.io/t/catchall-router-that-returns-503-service-unavailable-response-code/10651
- traefik.http.routers.catchall.rule=PathPrefix(`/`)
- traefik.http.routers.catchall.service=unavailable
- traefik.http.routers.catchall.priority=1
- traefik.http.services.unavailable.loadbalancer.server.port=0
args:
providers.docker.allowEmptyServices: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment