From 9feea155fe0bb297f8082207a826e8e69dde8115 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 8 Jul 2020 13:18:08 +0200 Subject: [PATCH] root: fix /favicon being routed to application server --- docker-compose.yml | 2 +- helm/templates/ingress.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a9a6aba8b..fe33b30bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,7 +62,7 @@ services: networks: - internal labels: - - traefik.frontend.rule=PathPrefix:/static, /robots.txt + - traefik.frontend.rule=PathPrefix:/static, /robots.txt, /favicon.ico - traefik.port=80 - traefik.docker.network=internal traefik: diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml index c5b31dcb1..2f6aefc2e 100644 --- a/helm/templates/ingress.yaml +++ b/helm/templates/ingress.yaml @@ -41,5 +41,9 @@ spec: backend: serviceName: {{ $fullName }}-static servicePort: http + - path: /favicon.ico + backend: + serviceName: {{ $fullName }}-static + servicePort: http {{- end }} {{- end }}