Created
March 31, 2023 10:22
-
-
Save milk1000cc/29d9997c9bd33f057e92fa64c5568fdd to your computer and use it in GitHub Desktop.
mrsk v0.10.1 + traefik XXX Instead of 404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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