java - Spring Boot & Zuul not honoring proxied favicon -
i've tried few different configurations tell zuul use favicon of proxied web-server, i've come empty handed. here's have configured of on zuul server.
zuul.routes.favicon.path=/favicon.ico zuul.routes.favicon.url=http://mycontentserver.com/favicon.ico spring.mvc.favicon.enabled=false
but responses?
$ curl -sil http://myzuulserver.com/favicon.ico http/1.1 404 not found
which should route to...
$ curl -sil http://mycontentserver.com/favicon.ico http/1.1 200 ok
keeping spring mvc favicon enabled returns typical spring icon.
do have misconfigured here? misunderstanding how favicons work?
so spring cloud netflix zuul appends path url. 404 experiencing mycontentserver.com
not zuul. asking http://mycontentserver.com/favicon.ico/favicon.ico
.
set zuul.routes.favicon.url=http://mycontentserver.com/
.
Comments
Post a Comment