root: fix /favicon being routed to application server
This commit is contained in:
parent
2717e02d93
commit
9feea155fe
|
@ -62,7 +62,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
labels:
|
labels:
|
||||||
- traefik.frontend.rule=PathPrefix:/static, /robots.txt
|
- traefik.frontend.rule=PathPrefix:/static, /robots.txt, /favicon.ico
|
||||||
- traefik.port=80
|
- traefik.port=80
|
||||||
- traefik.docker.network=internal
|
- traefik.docker.network=internal
|
||||||
traefik:
|
traefik:
|
||||||
|
|
|
@ -41,5 +41,9 @@ spec:
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ $fullName }}-static
|
serviceName: {{ $fullName }}-static
|
||||||
servicePort: http
|
servicePort: http
|
||||||
|
- path: /favicon.ico
|
||||||
|
backend:
|
||||||
|
serviceName: {{ $fullName }}-static
|
||||||
|
servicePort: http
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Reference in New Issue